From 7bb8c7e0473fa9ffc9c43bd97df7638b1b11736f Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 19 Oct 2006 10:30:19 +0000 Subject: [PATCH] web commit by VictorMoral: Add a cpan shortcut --- doc/shortcuts.mdwn | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 doc/shortcuts.mdwn 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. -- 2.26.2