diff options
Diffstat (limited to 'doc/shortcuts.mdwn')
-rw-r--r-- | doc/shortcuts.mdwn | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/shortcuts.mdwn b/doc/shortcuts.mdwn new file mode 100644 index 000000000..f9d586bbf --- /dev/null +++ b/doc/shortcuts.mdwn @@ -0,0 +1,18 @@ +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" desc="bug #%s"]] +* [[shortcut name=deblist url="http://lists.debian.org/debian-%s" desc="debian-%s@lists.debian.org"]] +* [[shortcut name=debpkg url="http://packages.debian.org/%s"]] +* [[shortcut name=debpts url="http://packages.qa.debian.org/%s"]] +* [[shortcut name=fdobug url="https://bugs.freedesktop.org/show_bug.cgi?id=%s" desc="freedesktop.org bug #%s"]] +* [[shortcut name=fdolist url="http://lists.freedesktop.org/mailman/listinfo/%s" desc="%s@lists.freedesktop.org"]] +* [[shortcut name=cpan url="http://search.cpan.org/search?mode=dist&query=%s"]] +* [[shortcut name=ctan url="http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=%s"]] +* [[shortcut name=iki url="http://ikiwiki.kitenet.net/%s.html"]] +* [[shortcut name=ljuser url="http://%s.livejournal.com/"]] + +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. |