X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/b973ed82699903c23b3feeb5e73e1ebd6f587f43..e0832eefeaf790bc2bfc2b98c24413c4514557b4:/basewiki/shortcuts.mdwn diff --git a/basewiki/shortcuts.mdwn b/basewiki/shortcuts.mdwn index 7dde7919e..cca0df4a3 100644 --- a/basewiki/shortcuts.mdwn +++ b/basewiki/shortcuts.mdwn @@ -1,8 +1,10 @@ -This page is used to control what shortcut links are supported by the wiki. +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"]] +* [[shortcut name=debbug url="http://bugs.debian.org/%s" desc="bug #%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" in -the url is replaced by the text of the shortcut. +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.