web commit by JoshTriplett: Add "debpkg" shortcut, for packages via packages.debian...
[ikiwiki] / 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=debpkg url="http://packages.debian.org/%s"]]
7 * [[shortcut name=cpan url="http://search.cpan.org/search?mode=dist&query=%s"]]
8
9 To add a new shortcut, use the "shortcut" preprocessor directive. "%s" is
10 replaced with the text passed to the named shortcut. The optional desc
11 parameter controls the description of the link.