From 7183a899c702d0261a7a673eda067c94fbb2cbc0 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 13 Jun 2018 11:47:20 -0400 Subject: add shortcuts page so !commit works I think none of the default shortcuts were being used, and I trimmed the list down --- doc/shortcuts.mdwn | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 doc/shortcuts.mdwn 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"]] -- cgit v1.2.3