aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-10-19 10:30:19 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-10-19 10:30:19 +0000
commit7bb8c7e0473fa9ffc9c43bd97df7638b1b11736f (patch)
tree9ee90310be2fb3da675d78060cc27ffb183bda41 /doc
parentb5d3c31edaed159933bff29bdd8462be0e1ccd43 (diff)
downloadikiwiki-7bb8c7e0473fa9ffc9c43bd97df7638b1b11736f.tar
ikiwiki-7bb8c7e0473fa9ffc9c43bd97df7638b1b11736f.tar.gz
web commit by VictorMoral: Add a cpan shortcut
Diffstat (limited to 'doc')
-rw-r--r--doc/shortcuts.mdwn9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/shortcuts.mdwn b/doc/shortcuts.mdwn
new file mode 100644
index 000000000..a941dbd13
--- /dev/null
+++ b/doc/shortcuts.mdwn
@@ -0,0 +1,9 @@
+This page is used to control what shortcut links are supported by the wiki.
+
+* [[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=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 is replaced by the text of the shortcut.