ayakael.net/shortcuts/index.en.html
forgejo-actions[bot] b6f9c15e41
All checks were successful
/ deploy (push) Successful in 26s
forge-ci: set commit message from main
2024-08-26 00:17:12 +00:00

319 lines
14 KiB
HTML

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>shortcuts - Ayakael</title>
<!-- cargo-culted from https://realfavicongenerator.net/ -->
<!-- for the record: it is absolutely ridiculous that new browsers
*and* operating systems each want their own little precious
snowflake just for a frigging icon -->
<link rel="apple-touch-icon" sizes="180x180" href="../apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="../favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="../favicon-16x16.png">
<link rel="manifest" href="../site.webmanifest">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<!-- ikiwiki CSS -->
<link href="../style.css" rel="stylesheet" />
<!-- Bootstrap core CSS -->
<!-- those checksums can be verified with: shasum -b -a 384 $file | xxd -r -p | base64 -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous" />
<!-- Custom styles for this template -->
<link href="../bootstrap.local.css" rel="stylesheet" />
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- Custom styles for derivatives -->
<link rel="stylesheet" href="../local.css" type="text/css" />
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../">
<img alt="Ayakael" src="../favicon.png" width="48" height="48" />
</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<div class="dropdown language-switcher-top navbar-left">
<button class="btn language-switcher dropdown-toggle" type="button" id="language-menu-top" data-toggle=
"dropdown" aria-haspopup="true" aria-expanded="true">
English
<img src="../wikiicons/languages.png">
</button>
<ul class="dropdown-menu" aria-labelledby="language-menu-top">
<li>
<a href="./index.fr.html">Français</a>
</li>
</ul>
</div>
<!-- the anchors force ikiwiki to use a tags instead of spans. hopefully. -->
<ul class="nav navbar-nav navbar-right">
<li><a href="../index.en.html">Home</a></li>
<li><a href="https://ayakael.net/forge/">Forge</a></li>
<li><a href="../contact/index.en.html">Contact</a></li>
</ul>
<ul class="nav navbar-nav">
</ul>
</div>
</div>
</nav>
<div class="container" 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 [[!google ikiwiki desc="google search 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 debcve points to <i>https://security-tracker.debian.org/tracker/%S</i>
<ul>
<li>also supports Debian bug numbers, packages and whatever the <a href="https://security-tracker.debian.org/tracker/">security tracker</a> supports.</li>
</ul></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&amp;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://wiki.c2.com/?%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&amp;Strategy=<em>&amp;Database=</em>&amp;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&amp;exact=on&amp;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&amp;type=domain</i></li>
<li>shortcut cve points to <i>https://cve.mitre.org/cgi-bin/cvename.cgi?name=%s</i></li>
<li>shortcut flickr points to <i>https://secure.flickr.com/photos/%s</i></li>
<li>shortcut man points to <i>http://manpages.debian.org/%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>
<li>shortcut pkgsrc points to <i>http://pkgsrc.se/%S</i></li>
<li>shortcut doi points to <i>http://dx.doi.org/%s</i></li>
<li>shortcut arxiv points to <i>http://arxiv.org/abs/%s</i></li>
</ul>
<p>To add a new shortcut, use the <code>shortcut</code>
<a href="../ikiwiki/directive/">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/">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>
<!-- legacy Ikiwiki comments.pm section -->
<!-- Mastodon comments -->
<div class="pagedate text-muted">
<span class="created">Created <time datetime="2024-08-26T00:17:04Z" class="dt-published">Mon Aug 26 00:17:04 2024</time>.</span>
<span class="edited">
Edited <time datetime="2024-08-26T00:17:04Z">Mon Aug 26 00:17:04 2024</time>.
</span>
</div>
<nav class="navbar navbar-default">
<div class="navbar-brand"><span class="glyphicon glyphicon-search" aria-hidden="true"></span></div>
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-footer" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div id="navbar-footer" class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Links<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="../ikiwiki/formatting/">ikiwiki/formatting</a></li>
<li><a href="../ikiwiki/formatting.fr/">ikiwiki/formatting.fr</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Meta<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="../recentchanges/index.en.html">Timeline</a></li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
</div> <!-- /container -->
<footer class="footer" role="contentinfo">
<div class="container">
<p class="text-muted">
<span class="copyright">
Copyleft © 2024-2024 ayakael <a href="../meta/license/">CC-BY-SA</a>
</span>
<span class="pull-right powered-by">
Powered by <a href="http://ikiwiki.info/">ikiwiki</a>.
<a href="https://gitlab.com/anarcat/ikiwiki-bootstrap-anarcat">Theme</a> by <a href="https://anarc.at/blog/2015-09-09-bootstrap">anarcat</a>.
</span>
</p>
</div>
</footer>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://code.jquery.com/jquery-3.2.1.min.js" crossorigin="anonymous" integrity="sha384-xBuQ/xzmlsLoJpyjoggmTEz8OWUFM0/RC5BsqQBDX2v5cMvDHcMakNTNrHIW2I5f"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" crossorigin="anonymous" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"></script>
<!-- TODO: Find other ways to setup analytics
<script data-goatcounter="https://analytics.anarc.at/count" async src="//analytics.anarc.at/count.js"></script>
<noscript>
<img src="https://analytics.anarc.at/count?p=shortcuts&t=shortcuts" alt="tracking pixel to count visitors when Javascript is disabled" />
</noscript>
-->
</body>
</html>