From 24114289fe319d0831697995ce05c43a27f57879 Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 18 Jan 2007 19:59:24 +0000 Subject: web commit by JoshTriplett: Add shortcut for pages on the ikiwiki ikiwiki. --- doc/shortcuts.mdwn | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 doc/shortcuts.mdwn diff --git a/doc/shortcuts.mdwn b/doc/shortcuts.mdwn new file mode 100644 index 000000000..363e3278b --- /dev/null +++ b/doc/shortcuts.mdwn @@ -0,0 +1,14 @@ +This page controls what shortcut links the wiki supports. + +* [[shortcut name=google url="http://www.google.com/search?q=%s"]] +* [[shortcut name=wikipedia url="http://en.wikipedia.org/wiki/%s"]] +* [[shortcut name=debbug url="http://bugs.debian.org/%s" desc="bug #%s"]] +* [[shortcut name=deblist url="http://lists.debian.org/debian-%s" desc="debian-%s@lists.debian.org"]] +* [[shortcut name=debpkg url="http://packages.debian.org/%s"]] +* [[shortcut name=fdobug url="https://bugs.freedesktop.org/show_bug.cgi?id=%s" desc="freedesktop.org bug #%s"]] +* [[shortcut name=cpan url="http://search.cpan.org/search?mode=dist&query=%s"]] +* [[shortcut name=iki url="http://ikiwiki.kitenet.net/%s.html"]] + +To add a new shortcut, use the "shortcut" preprocessor directive. "%s" is +replaced with the text passed to the named shortcut. The optional desc +parameter controls the description of the link. -- cgit v1.2.3