239 lines
11 KiB
HTML
239 lines
11 KiB
HTML
<!DOCTYPE html>
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" class="h-100">
|
|
<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="../css/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://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
|
|
|
|
<!-- Custom styles for this template -->
|
|
<link href="../css/bootstrap.local.css" rel="stylesheet" />
|
|
|
|
<!-- Custom styles for derivatives -->
|
|
|
|
<link rel="stylesheet" href="../css/local.css" type="text/css" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</head>
|
|
<body class="d-flex flex-column h-100">
|
|
|
|
<header>
|
|
<nav class="navbar fixed-top navbar-expand-lg navbar-light bg-light border">
|
|
<div class="container-fluid">
|
|
<a class="navbar-brand me-auto" href="../">
|
|
<img alt="Ayakael" src="../favicon.png" width="48" height="48" />
|
|
</a>
|
|
|
|
|
|
<div class="dropdown ps-2 pe-2">
|
|
<button class="btn language-switcher dropdown" type="button" id="language-menu-top" data-bs-toggle="dropdown" aria-expanded="false">
|
|
<div class="collapse navbar-collapse float-end ms-1" id="navbar">
|
|
English
|
|
</div>
|
|
<img src="../images/languages.png">
|
|
</button>
|
|
<ul class="dropdown-menu dropdown-menu-end dropdown-menu-lg-start" aria-labelledby="language-menu-top">
|
|
|
|
<li><a href="./index.fr.html">Français</a></li>
|
|
|
|
</ul>
|
|
</div>
|
|
|
|
|
|
<button class="navbar-toggler collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbarScroll" aria-expanded="false" aria-label="Toggle navigation">
|
|
<span class="navbar-toggler-icon"></span>
|
|
</button>
|
|
|
|
<div id="navbar" class="collapse navbar-collapse">
|
|
<!-- the anchors force ikiwiki to use a tags instead of spans. hopefully. -->
|
|
<ul class="navbar-nav nav-link align-items-center ms-auto">
|
|
<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="navbar-nav nav-link align-items-center ms-auto">
|
|
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
</header>
|
|
|
|
<main class="flex-shrink-0">
|
|
<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&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&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 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-06-21T02:57:06Z" class="dt-published">Fri Jun 21 02:57:06 2024</time>.</span>
|
|
<span class="edited">
|
|
|
|
Edited <time datetime="2024-06-21T02:57:06Z">Fri Jun 21 02:57:06 2024</time>.
|
|
|
|
</span>
|
|
</div>
|
|
|
|
</div> <!-- /container -->
|
|
</main>
|
|
|
|
<footer class="footer mt-auto bg-light py-2" role="contentinfo">
|
|
<div class="container">
|
|
<div class="row text-muted">
|
|
<div class="col-sm">
|
|
Copyleft © 2024 ayakael <a href="../meta/license/">CC-BY-SA</a>
|
|
</div>
|
|
<div class="col-sm text-sm-end">
|
|
Powered by <a href="http://ikiwiki.info/">ikiwiki</a>.
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</footer>
|
|
|
|
|
|
<!-- Bootstrap core JavaScript
|
|
================================================== -->
|
|
<!-- Placed at the end of the document so the pages load faster -->
|
|
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js" integrity="sha384-oBqDVmMz9ATKxIep9tiCxS/Z9fNfEXiDAYTujMAeBAsjFuCZSmKbSSUnQlmh/jp3" crossorigin="anonymous"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></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>
|