X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/06a8202931025b763414be5166ce374db173e50b..644ba425c8c56d5dbc6d4074e89f65e2624898e5:/doc/shortcuts.mdwn diff --git a/doc/shortcuts.mdwn b/doc/shortcuts.mdwn index 2d31f04af..0a5393b37 100644 --- a/doc/shortcuts.mdwn +++ b/doc/shortcuts.mdwn @@ -13,7 +13,7 @@ This page controls what shortcut links the wiki supports. * [[shortcut name=fdolist url="http://lists.freedesktop.org/mailman/listinfo/%s" desc="%s@lists.freedesktop.org"]] * [[shortcut name=cpan url="http://search.cpan.org/search?mode=dist&query=%s"]] * [[shortcut name=ctan url="http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=%s"]] -* [[shortcut name=iki url="http://ikiwiki.kitenet.net/%s.html"]] +* [[shortcut name=iki url="http://ikiwiki.info/%s.html"]] * [[shortcut name=ljuser url="http://%s.livejournal.com/"]] * [[shortcut name=rfc url="http://www.ietf.org/rfc/rfc%s.txt"]] * [[shortcut name=c2 url="http://c2.com/cgi/wiki?%s"]] @@ -24,6 +24,15 @@ This page controls what shortcut links the wiki supports. * [[shortcut name=perldoc url="http://perldoc.perl.org/search.html?q=%s"]] * [[shortcut name=whois url="http://reports.internic.net/cgi/whois?whois_nic=%s&type=domain"]] -To add a new shortcut, use the "shortcut" preprocessor directive. "%s" is -replaced with the text passed to the named shortcut. The optional desc +To add a new shortcut, use the `shortcut` [[PreprocessorDirective]]. "%s" is +replaced with the text passed to the named shortcut. The optional `desc` parameter controls the description of the link. + +Remember that the `name` you give the shortcut will become a new +[[PreprocessorDirective]]. Avoid using a `name` that conflicts with an +existing directive. + +If you come up with a shortcut that you think others might find useful, +consider contributing it to the [[iki shortcuts]] page on the ikiwiki +ikiwiki, so that future versions of ikiwiki will include your shortcut +in the standard underlay.