aboutsummaryrefslogtreecommitdiff
path: root/basewiki
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-10-15 19:33:52 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-10-15 19:33:52 +0000
commitb973ed82699903c23b3feeb5e73e1ebd6f587f43 (patch)
treeaf25dcd50842673244ced0b7d97ad01dcf10f13f /basewiki
parent8544d52fe9e5d344bb0b5e70985aabc0e35b4920 (diff)
downloadikiwiki-b973ed82699903c23b3feeb5e73e1ebd6f587f43.tar
ikiwiki-b973ed82699903c23b3feeb5e73e1ebd6f587f43.tar.gz
* Add no_override parameter to hook().
* Add a shortcut plugin, inspired by Victor Moral's contributed shortcuts plugin, but featuring a more ikiwiki-ish syntax and with shortcuts that can be configured using a page in wiki.
Diffstat (limited to 'basewiki')
-rw-r--r--basewiki/shortcuts.mdwn8
1 files changed, 8 insertions, 0 deletions
diff --git a/basewiki/shortcuts.mdwn b/basewiki/shortcuts.mdwn
new file mode 100644
index 000000000..7dde7919e
--- /dev/null
+++ b/basewiki/shortcuts.mdwn
@@ -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.