2007-04-09 23:03:24 +02:00
|
|
|
[[if test="enabled(shortcut)"
|
|
|
|
then="This wiki has shortcuts **enabled**."
|
|
|
|
else="This wiki has shortcuts **disabled**."]]
|
|
|
|
|
2007-05-20 01:45:43 +02:00
|
|
|
Some examples of using shortcuts include:
|
|
|
|
|
|
|
|
\[[google foo]]
|
|
|
|
\[[wikipedia War_of_1812]]
|
|
|
|
\[[debbug 12345]]
|
|
|
|
|
2007-02-14 00:10:45 +01:00
|
|
|
This page controls what shortcut links the wiki supports.
|
|
|
|
|
|
|
|
* [[shortcut name=google url="http://www.google.com/search?q=%s"]]
|
2007-02-15 12:45:09 +01:00
|
|
|
* [[shortcut name=archive url="http://web.archive.org/*/%s"]]
|
2007-02-15 11:35:45 +01:00
|
|
|
* [[shortcut name=gmap url="http://maps.google.com/maps?q=%s"]]
|
2007-05-07 21:02:53 +02:00
|
|
|
* [[shortcut name=gmsg url="http://groups.google.com/groups?selm=%s"]]
|
2007-02-14 00:10:45 +01:00
|
|
|
* [[shortcut name=wikipedia url="http://en.wikipedia.org/wiki/%s"]]
|
2007-02-15 11:38:30 +01:00
|
|
|
* [[shortcut name=wikitravel url="http://wikitravel.org/en/%s"]]
|
2007-02-14 00:10:45 +01:00
|
|
|
* [[shortcut name=debbug url="http://bugs.debian.org/%s" desc="bug #%s"]]
|
|
|
|
* [[shortcut name=deblist url="http://lists.debian.org/debian-%s" desc="debian-%s@lists.debian.org"]]
|
|
|
|
* [[shortcut name=debpkg url="http://packages.debian.org/%s"]]
|
|
|
|
* [[shortcut name=debpts url="http://packages.qa.debian.org/%s"]]
|
2007-04-27 22:55:15 +02:00
|
|
|
* [[shortcut name=debmsg url="http://lists.debian.org/msgid-search/%s"]]
|
2007-05-08 21:03:17 +02:00
|
|
|
* [[shortcut name=debrt url="https://rt.debian.org/Ticket/Display.html?id=%s"]]
|
2007-05-21 21:33:36 +02:00
|
|
|
* [[shortcut name=debss url="http://snapshot.debian.net/package/%s"]]
|
|
|
|
* Usage: `\[[debss package]]`, `\[[debss package#version]]`, or `\[[debss package/version]]`. See http://snapshot.debian.net for details.
|
2007-02-14 00:10:45 +01:00
|
|
|
* [[shortcut name=fdobug url="https://bugs.freedesktop.org/show_bug.cgi?id=%s" desc="freedesktop.org bug #%s"]]
|
|
|
|
* [[shortcut name=fdolist url="http://lists.freedesktop.org/mailman/listinfo/%s" desc="%s@lists.freedesktop.org"]]
|
2007-03-08 09:43:36 +01:00
|
|
|
* [[shortcut name=gnomebug url="http://bugzilla.gnome.org/show_bug.cgi?id=%s" desc="GNOME bug #%s"]]
|
2007-05-16 09:47:13 +02:00
|
|
|
* [[shortcut name=linuxbug url="http://bugzilla.kernel.org/show_bug.cgi?id=%s" desc="Linux bug #%s"]]
|
2007-05-21 21:35:44 +02:00
|
|
|
* [[shortcut name=mozbug url="https://bugzilla.mozilla.org/show_bug.cgi?id=%s" desc="Mozilla bug #%s"]]
|
2007-05-21 20:03:49 +02:00
|
|
|
* [[shortcut name=gnulist url="http://lists.gnu.org/mailman/listinfo/%s" desc="%s@gnu.org"]]
|
2007-04-27 22:55:15 +02:00
|
|
|
* [[shortcut name=marcmsg url="http://marc.info/?i=%s"]]
|
2007-05-04 09:33:59 +02:00
|
|
|
* [[shortcut name=marclist url="http://marc.info/?l=%s"]]
|
2007-05-10 19:01:03 +02:00
|
|
|
* [[shortcut name=gmane url="http://dir.gmane.org/gmane.%s" desc="gmane.%s"]]
|
2007-07-09 06:19:30 +02:00
|
|
|
* [[shortcut name=gmanemsg url="http://mid.gmane.org/%s"]]
|
2007-02-14 00:10:45 +01:00
|
|
|
* [[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"]]
|
2007-03-08 09:22:03 +01:00
|
|
|
* [[shortcut name=hoogle url="http://haskell.org/hoogle/?q=%s"]]
|
2007-04-14 23:19:25 +02:00
|
|
|
* [[shortcut name=iki url="http://ikiwiki.info/%s/"]]
|
2007-04-30 08:40:01 +02:00
|
|
|
* [[shortcut name=ikirev url="http://ikiwiki.info/cgi-bin/viewvc.cgi?view=rev&root=ikiwiki&revision=%s"]]
|
2007-02-14 00:10:45 +01:00
|
|
|
* [[shortcut name=ljuser url="http://%s.livejournal.com/"]]
|
2007-04-27 23:01:54 +02:00
|
|
|
* [[shortcut name=rfc url="http://www.ietf.org/rfc/rfc%s.txt" desc="RFC %s"]]
|
2007-02-15 11:14:48 +01:00
|
|
|
* [[shortcut name=c2 url="http://c2.com/cgi/wiki?%s"]]
|
2007-02-20 22:52:48 +01:00
|
|
|
* [[shortcut name=meatballwiki url="http://www.usemod.com/cgi-bin/mb.pl?%s"]]
|
2007-02-15 11:34:14 +01:00
|
|
|
* [[shortcut name=emacswiki url="http://www.emacswiki.org/cgi-bin/wiki/%s"]]
|
2007-03-08 09:31:23 +01:00
|
|
|
* [[shortcut name=haskellwiki url="http://haskell.org/haskellwiki/%s"]]
|
2007-02-15 11:18:05 +01:00
|
|
|
* [[shortcut name=dict url="http://www.dict.org/bin/Dict?Form=Dict1&Strategy=*&Database=*&Query=%s"]]
|
2007-02-15 12:47:23 +01:00
|
|
|
* [[shortcut name=imdb url="http://imdb.com/find?q=%s"]]
|
2007-02-15 11:21:57 +01:00
|
|
|
* [[shortcut name=gpg url="http://pgpkeys.mit.edu:11371/pks/lookup?op=vindex&exact=on&search=0x%s"]]
|
2007-02-15 11:26:19 +01:00
|
|
|
* [[shortcut name=perldoc url="http://perldoc.perl.org/search.html?q=%s"]]
|
2007-02-15 12:54:37 +01:00
|
|
|
* [[shortcut name=whois url="http://reports.internic.net/cgi/whois?whois_nic=%s&type=domain"]]
|
2007-02-19 06:17:27 +01:00
|
|
|
* [[shortcut name=cve url="http://cve.mitre.org/cgi-bin/cvename.cgi?name=%s"]]
|
2007-04-06 07:52:56 +02:00
|
|
|
* [[shortcut name=cia url="http://cia.vc/stats/project/%s"]]
|
|
|
|
* [[shortcut name=ciauser url="http://cia.vc/stats/user/%s"]]
|
2007-03-08 09:48:40 +01:00
|
|
|
* [[shortcut name=flickr url="http://www.flickr.com/photos/%s"]]
|
2007-04-06 09:42:18 +02:00
|
|
|
* [[shortcut name=zooomr url="http://www.zooomr.com/photos/%s"]]
|
|
|
|
* Note: You have to include the username and number in here, such as `bob/123455`.
|
2007-02-14 00:10:45 +01:00
|
|
|
|
2007-12-08 21:59:08 +01:00
|
|
|
To add a new shortcut, use the `shortcut`
|
|
|
|
[[ikiwiki/PreprocessorDirective]]. In the url, "%s" is replaced with the
|
|
|
|
text passed to the named shortcut. The optional `desc` parameter controls
|
|
|
|
the description of the link.
|
2007-02-15 21:08:20 +01:00
|
|
|
|
|
|
|
Remember that the `name` you give the shortcut will become a new
|
2007-12-08 21:59:08 +01:00
|
|
|
[[ikiwiki/PreprocessorDirective]]. Avoid using a `name` that conflicts
|
|
|
|
with an existing directive.
|
2007-02-15 21:08:20 +01:00
|
|
|
|
|
|
|
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.
|