aboutsummaryrefslogtreecommitdiff
path: root/basewiki
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-11-20 11:31:23 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-11-20 11:31:23 +0000
commiteac31eff5c9147792c2886359b0faa4615e51e77 (patch)
treeba2f38eee49cc4163ecbcfd4d173fbaf650cbe73 /basewiki
parentbcb41d1de98fc88829b978fb750582ad4523a8a1 (diff)
downloadikiwiki-eac31eff5c9147792c2886359b0faa4615e51e77.tar
ikiwiki-eac31eff5c9147792c2886359b0faa4615e51e77.tar.gz
shortcut stuff
Diffstat (limited to 'basewiki')
-rw-r--r--basewiki/shortcuts.mdwn7
1 files changed, 4 insertions, 3 deletions
diff --git a/basewiki/shortcuts.mdwn b/basewiki/shortcuts.mdwn
index cb80c4d40..cca0df4a3 100644
--- a/basewiki/shortcuts.mdwn
+++ b/basewiki/shortcuts.mdwn
@@ -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.