-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathshortcuts.html
191 lines (125 loc) · 6.83 KB
/
shortcuts.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>shortcuts</title>
<link rel="stylesheet" href="style.css" type="text/css" />
<link rel="stylesheet" href="local.css" type="text/css" />
</head>
<body>
<div class="page">
<div class="pageheader">
<div class="header">
<span>
<span class="parentlinks">
<a href="./index.html">freetrader's blog</a>/
</span>
<span class="title">
shortcuts
</span>
</span>
</div>
</div>
<div id="pagebody">
<div id="content">
<p>This wiki has shortcuts <strong>enabled</strong>.</p>
<p>Some examples of using shortcuts include:</p>
<pre><code>[[!google foo]]
[[!wikipedia War_of_1812]]
[[!debbug 12345]]
Check the [[!cia ikiwiki desc="CIA page for %s"]].
</code></pre>
<p>This page controls what shortcut links the wiki supports.</p>
<ul>
<li>shortcut google points to <i>https://encrypted.google.com/search?q=%s</i></li>
<li>shortcut archive points to <i>http://web.archive.org/*/%S</i></li>
<li>shortcut gmap points to <i>https://maps.google.com/maps?q=%s</i></li>
<li>shortcut gmsg points to <i>https://groups.google.com/groups?selm=%s</i></li>
<li>shortcut wikipedia points to <i>https://en.wikipedia.org/wiki/%W</i></li>
<li>shortcut wikitravel points to <i>https://wikitravel.org/en/%s</i></li>
<li>shortcut wiktionary points to <i>https://en.wiktionary.org/wiki/%s</i></li>
<li>shortcut debbug points to <i>http://bugs.debian.org/%S</i></li>
<li>shortcut deblist points to <i>https://lists.debian.org/debian-%s</i></li>
<li>shortcut debpkg points to <i>http://packages.debian.org/%s</i></li>
<li>shortcut debpkgsid points to <i>http://packages.debian.org/sid/%s</i></li>
<li>shortcut debpts points to <i>http://packages.qa.debian.org/%s</i></li>
<li>shortcut debmsg points to <i>https://lists.debian.org/msgid-search/%s</i></li>
<li>shortcut debrt points to <i>https://rt.debian.org/Ticket/Display.html?id=%s</i></li>
<li>shortcut debss points to <i>http://snapshot.debian.org/package/%s/</i>
<ul>
<li>Usage: <code>[[!debss package]]</code> or <code>[[!debss package/version]]</code>. See <a href="http://snapshot.debian.org/">http://snapshot.debian.org/</a> for details.</li>
</ul>
</li>
<li>shortcut debwiki points to <i>https://wiki.debian.org/%s</i></li>
<li>shortcut fdobug points to <i>https://bugs.freedesktop.org/show_bug.cgi?id=%s</i></li>
<li>shortcut fdolist points to <i>http://lists.freedesktop.org/mailman/listinfo/%s</i></li>
<li>shortcut gnomebug points to <i>https://bugzilla.gnome.org/show_bug.cgi?id=%s</i></li>
<li>shortcut linuxbug points to <i>https://bugzilla.kernel.org/show_bug.cgi?id=%s</i></li>
<li>shortcut mozbug points to <i>https://bugzilla.mozilla.org/show_bug.cgi?id=%s</i></li>
<li>shortcut gnulist points to <i>https://lists.gnu.org/mailman/listinfo/%s</i></li>
<li>shortcut marcmsg points to <i>http://marc.info/?i=%s</i></li>
<li>shortcut marclist points to <i>http://marc.info/?l=%s</i></li>
<li>shortcut gmane points to <i>http://dir.gmane.org/gmane.%s</i></li>
<li>shortcut gmanemsg points to <i>http://mid.gmane.org/%s</i></li>
<li>shortcut cpan points to <i>http://search.cpan.org/search?mode=dist&query=%s</i></li>
<li>shortcut ctan points to <i>http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=%s</i></li>
<li>shortcut hoogle points to <i>http://haskell.org/hoogle/?q=%s</i></li>
<li>shortcut iki points to <i>http://ikiwiki.info/%S/</i></li>
<li>shortcut ljuser points to <i>http://%s.livejournal.com/</i></li>
<li>shortcut rfc points to <i>https://www.ietf.org/rfc/rfc%s.txt</i></li>
<li>shortcut c2 points to <i>http://c2.com/cgi/wiki?%s</i></li>
<li>shortcut meatballwiki points to <i>http://www.usemod.com/cgi-bin/mb.pl?%s</i></li>
<li>shortcut emacswiki points to <i>http://www.emacswiki.org/cgi-bin/wiki/%s</i></li>
<li>shortcut haskellwiki points to <i>http://haskell.org/haskellwiki/%s</i></li>
<li>shortcut dict points to <i>http://www.dict.org/bin/Dict?Form=Dict1&Strategy=<em>&Database=</em>&Query=%s</i></li>
<li>shortcut imdb points to <i>http://imdb.com/find?q=%s</i></li>
<li>shortcut gpg points to <i>http://pgpkeys.mit.edu:11371/pks/lookup?op=vindex&exact=on&search=0x%s</i></li>
<li>shortcut perldoc points to <i>http://perldoc.perl.org/search.html?q=%s</i></li>
<li>shortcut whois points to <i>http://reports.internic.net/cgi/whois?whois_nic=%s&type=domain</i></li>
<li>shortcut cve points to <i>https://cve.mitre.org/cgi-bin/cvename.cgi?name=%s</i></li>
<li>shortcut cia points to <i>http://cia.vc/stats/project/%s</i></li>
<li>shortcut ciauser points to <i>http://cia.vc/stats/user/%s</i></li>
<li>shortcut flickr points to <i>https://secure.flickr.com/photos/%s</i></li>
<li>shortcut man points to <i>http://linux.die.net/man/%s</i></li>
<li>shortcut ohloh points to <i>https://www.ohloh.net/p/%s</i></li>
<li>shortcut cpanrt points to <i>https://rt.cpan.org/Ticket/Display.html?id=%s</i></li>
<li>shortcut novellbug points to <i>https://bugzilla.novell.com/show_bug.cgi?id=%s</i></li>
<li>shortcut ubupkg points to <i>http://packages.ubuntu.com/%s</i></li>
<li>shortcut mozillazinekb points to <i>http://kb.mozillazine.org/%s</i></li>
<li>shortcut freebsdwiki points to <i>http://wiki.freebsd.org/%s</i></li>
<li>shortcut hackage points to <i>http://hackage.haskell.org/package/%s</i></li>
</ul>
<p>To add a new shortcut, use the <code>shortcut</code>
<a href="./ikiwiki/directive.html">directive</a>. In the url, "%s" is replaced with the
text passed to the named shortcut, after <a href="https://en.wikipedia.org/wiki/url%5Fencoding">url encoding</a>
it, and '%S' is replaced with the raw, non-encoded text.
Additionally, <code>%W</code> is replaced with the text encoded just right for
Wikipedia. The optional <code>desc</code> parameter controls the description of
the link.</p>
<p>Remember that the <code>name</code> you give the shortcut will become a new
<a href="./ikiwiki/directive.html">directive</a>. Avoid using a <code>name</code> that conflicts
with an existing directive. These directives also accept a <code>desc</code>
parameter that will override the one provided at definition time.</p>
<p>If you come up with a shortcut that you think others might find useful,
consider contributing it to the <a href="http://ikiwiki.info/shortcuts/">shortcuts page on the ikiwiki
wiki</a>, so that future versions of
ikiwiki will include your shortcut in the standard underlay.</p>
</div>
</div>
<div id="footer" class="pagefooter">
<div id="pageinfo">
<div id="backlinks">
Links:
<a href="./ikiwiki/formatting.html">ikiwiki/formatting</a>
</div>
<div class="pagedate">
Last edited <span class="date">Tue 31 Jan 2017 18:57:56 CET</span>
<!-- Created <span class="date">Mon 09 May 2016 23:39:24 CEST</span> -->
</div>
</div>
<!-- from freetrader's blog -->
</div>
</div>
</body>
</html>