summaryrefslogtreecommitdiff
path: root/doc/shortcuts.mdwn
diff options
context:
space:
mode:
authorJoey Hess2018-06-13 11:47:20 -0400
committerJoey Hess2018-06-13 11:47:20 -0400
commit7183a899c702d0261a7a673eda067c94fbb2cbc0 (patch)
tree511f0f259671f42b2857ebc60efbec5707cfde44 /doc/shortcuts.mdwn
parent7d3547e68d45f76b533a1b7b61430f38fb191970 (diff)
add shortcuts page so !commit works
I think none of the default shortcuts were being used, and I trimmed the list down
Diffstat (limited to 'doc/shortcuts.mdwn')
-rw-r--r--doc/shortcuts.mdwn12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/shortcuts.mdwn b/doc/shortcuts.mdwn
new file mode 100644
index 00000000..9c8b7605
--- /dev/null
+++ b/doc/shortcuts.mdwn
@@ -0,0 +1,12 @@
+[[!if test="enabled(shortcut)"
+ then="This wiki has shortcuts **enabled**."
+ else="This wiki has shortcuts **disabled**."]]
+
+This page controls what shortcut links the wiki supports.
+
+* [[!shortcut name=debbug url="http://bugs.debian.org/%S" desc="Debian bug #%s"]]
+* [[!shortcut name=iki url="http://ikiwiki.info/%S/"]]
+* [[!shortcut name=rfc url="https://www.ietf.org/rfc/rfc%s.txt" desc="RFC %s"]]
+* [[!shortcut name=cve url="https://cve.mitre.org/cgi-bin/cvename.cgi?name=%s"]]
+* [[!shortcut name=hackage url="http://hackage.haskell.org/package/%s"]]
+* [[!shortcut name=commit url="http://source.propellor.branchable.com/?p=source.git;a=commitdiff;h=%s"]]