]> scripts.mit.edu Git - www/ikiwiki.git/blobdiff - basewiki/shortcuts.mdwn
* Add no_override parameter to hook().
[www/ikiwiki.git] / basewiki / shortcuts.mdwn
diff --git a/basewiki/shortcuts.mdwn b/basewiki/shortcuts.mdwn
new file mode 100644 (file)
index 0000000..7dde791
--- /dev/null
@@ -0,0 +1,8 @@
+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"]]
+
+To add a new shortcut, use the "shortcut" preprocessor directive. "%s" in
+the url is replaced by the text of the shortcut.