]> sipb.mit.edu Git - ikiwiki.git/blob - basewiki/shortcuts.mdwn
fold
[ikiwiki.git] / basewiki / shortcuts.mdwn
1 This page is used to control what shortcut links are supported by the wiki.
2
3 * [[shortcut name=google url="http://www.google.com/search?q=%s"]]
4 * [[shortcut name=wikipedia url="http://en.wikipedia.org/wiki/%s"]]
5 * [[shortcut name=debbug url="http://bugs.debian.org/%s"]]
6 * [[shortcut name=cpan url="http://search.cpan.org/search?mode=dist&query=%s"]]
7
8 To add a new shortcut, use the "shortcut" preprocessor directive. "%s" in
9 the url is replaced by the text of the shortcut.