]> sipb.mit.edu Git - ikiwiki.git/blobdiff - basewiki/shortcuts.mdwn
testing
[ikiwiki.git] / basewiki / shortcuts.mdwn
index cb80c4d40ed5c2449aba170d3a21e22af7cd56ba..cca0df4a3f3fcca936903033fae73fccf8d924e8 100644 (file)
@@ -2,8 +2,9 @@ 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 becomes the text passed to the named 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.