]> sipb.mit.edu Git - ikiwiki.git/blob - doc/shortcuts.mdwn
* Many changes to make ikiwiki very resistant to write failures
[ikiwiki.git] / doc / shortcuts.mdwn
1 This page controls what shortcut links the wiki supports.
2
3 * [[shortcut name=google url="http://www.google.com/search?q=%s"]]
4 * [[shortcut name=wikipedia url="http://en.wikipedia.org/wiki/%s"]]
5 * [[shortcut name=debbug url="http://bugs.debian.org/%s" desc="bug #%s"]]
6 * [[shortcut name=deblist url="http://lists.debian.org/debian-%s" desc="debian-%s@lists.debian.org"]]
7 * [[shortcut name=debpkg url="http://packages.debian.org/%s"]]
8 * [[shortcut name=debpts url="http://packages.qa.debian.org/%s"]]
9 * [[shortcut name=fdobug url="https://bugs.freedesktop.org/show_bug.cgi?id=%s" desc="freedesktop.org bug #%s"]]
10 * [[shortcut name=fdolist url="http://lists.freedesktop.org/mailman/listinfo/%s" desc="%s@lists.freedesktop.org"]]
11 * [[shortcut name=cpan url="http://search.cpan.org/search?mode=dist&query=%s"]]
12 * [[shortcut name=ctan url="http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=%s"]]
13 * [[shortcut name=iki url="http://ikiwiki.kitenet.net/%s.html"]]
14 * [[shortcut name=ljuser url="http://%s.livejournal.com/"]]
15
16 To add a new shortcut, use the "shortcut" preprocessor directive. "%s" is
17 replaced with the text passed to the named shortcut. The optional desc
18 parameter controls the description of the link.