From eac31eff5c9147792c2886359b0faa4615e51e77 Mon Sep 17 00:00:00 2001 From: joey Date: Mon, 20 Nov 2006 11:31:23 +0000 Subject: shortcut stuff --- basewiki/shortcuts.mdwn | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'basewiki/shortcuts.mdwn') 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. -- cgit v1.2.3