diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-01-18 19:59:24 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-01-18 19:59:24 +0000 |
commit | 24114289fe319d0831697995ce05c43a27f57879 (patch) | |
tree | 603ac325ada76aa5185fd08a6efee8d6f254fdda /doc | |
parent | 238964c2e1c8bad94528154637c6826ac6df4799 (diff) |
web commit by JoshTriplett: Add shortcut for pages on the ikiwiki ikiwiki.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/shortcuts.mdwn | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/shortcuts.mdwn b/doc/shortcuts.mdwn new file mode 100644 index 000000000..363e3278b --- /dev/null +++ b/doc/shortcuts.mdwn @@ -0,0 +1,14 @@ +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=fdobug url="https://bugs.freedesktop.org/show_bug.cgi?id=%s" desc="freedesktop.org bug #%s"]] +* [[shortcut name=cpan url="http://search.cpan.org/search?mode=dist&query=%s"]] +* [[shortcut name=iki url="http://ikiwiki.kitenet.net/%s.html"]] + +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. |