web commit by JoshTriplett: Add "debpkg" shortcut, for packages via packages.debian.org.

master
joey 2006-11-21 13:48:09 +00:00
parent 9d63be9af9
commit b9690f3182
1 changed files with 11 additions and 0 deletions

11
doc/shortcuts.mdwn 100644
View File

@ -0,0 +1,11 @@
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=debpkg url="http://packages.debian.org/%s"]]
* [[shortcut name=cpan url="http://search.cpan.org/search?mode=dist&query=%s"]]
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.