aboutsummaryrefslogtreecommitdiff
path: root/doc/shortcuts.mdwn
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-02-10 20:24:16 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-02-10 20:24:16 +0000
commitd574002bbc489c49aa346476dde051fb414d1299 (patch)
tree88c645a8ef9b7663fd1bdbdb2416cbd2c3b4cd41 /doc/shortcuts.mdwn
parent75b0e65bc5799ce1556a4bc123e21ba5a2443949 (diff)
downloadikiwiki-d574002bbc489c49aa346476dde051fb414d1299.tar
ikiwiki-d574002bbc489c49aa346476dde051fb414d1299.tar.gz
web commit by JoshTriplett: Add a few more shortcuts: debpts for the Debian Package Tracking System, and ljuser for the convenience of former LiveJournal users.
Diffstat (limited to 'doc/shortcuts.mdwn')
-rw-r--r--doc/shortcuts.mdwn17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/shortcuts.mdwn b/doc/shortcuts.mdwn
new file mode 100644
index 000000000..381729e21
--- /dev/null
+++ b/doc/shortcuts.mdwn
@@ -0,0 +1,17 @@
+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=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.