interlanguage-checker/src/main/index.html

128 lines
6.2 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Florine W. Dekker" />
<meta name="application-name" content="Interlanguage Checker" />
<meta name="description" content="Check the consistency of MediaWiki interlanguage links in a simple overview." />
<meta name="theme-color" content="#0033cc" />
<meta name="fwd:auto:show-main" />
<meta name="fwd:nav:target" content="#nav" />
<meta name="fwd:nav:highlight-path" content="/Tools/Interlanguage Checker/" />
<meta name="fwd:footer:target" content="#footer" />
<meta name="fwd:footer:vcs-url" content="https://git.fwdekker.com/tools/interlanguage-checker/" />
<meta name="fwd:footer:version" content="v%%VERSION_NUMBER%%" />
<meta name="fwd:validation:load-forms" />
<title>Interlanguage Checker | FWDekker</title>
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/fork-awesome/1.x.x/fork-awesome.css" />
<link rel="stylesheet" href="https://static.fwdekker.com/lib/template/3.x.x/template.css?v=%%VERSION_NUMBER%%" />
<!--suppress HtmlUnknownTarget -->
<link rel="stylesheet" href="main.css?v=%%VERSION_NUMBER%%" />
<!-- Prevent sending query params to GoatCounter -->
<link rel="canonical" href="https://fwdekker.com/tools/death-notifier/">
<script async src="https://stats.fwdekker.com/count.js"
data-goatcounter="https://stats.fwdekker.com/count"></script>
</head>
<body>
<noscript class="fwd-js-notice">
<img src="https://stats.fwdekker.com/count?p=/tools/interlanguage-checker/" alt="Counting pixel" />
<p>
This website does not function if JavaScript is disabled.
Please check the <a href="https://www.enable-javascript.com/">
instructions on how to enable JavaScript in your web browser</a>.
</p>
</noscript>
<nav id="nav"></nav>
<main class="hidden">
<div role="document">
<section class="container">
<header class="fwd-header">
<hgroup>
<h1><a href=".">Interlanguage Checker</a></h1>
<h2>Check the consistency of MediaWiki interlanguage links in a simple overview.</h2>
</hgroup>
</header>
<details open id="about">
<summary><b>About</b></summary>
<p>
<a href="https://community.fandom.com/wiki/Help:Interlanguage_link" target="_blank">
Interlanguage links</a>
allow wikis to tell users where to find translations of articles.
Without the
<a href="https://www.mediawiki.org/wiki/Extension:Interlanguage" target="_blank">
interlanguage extension</a>,
each translation is responsible for maintaining its own outgoing links.
As the number of translations grows, the network of links becomes more <b>complex</b>, and the
number of errors grows.
</p>
<p>
The <b>Interlanguage Checker</b> traverses the network of interlanguage links starting from a
given article and shows you that network in a table.
If there are missing or incorrect links, you can quickly spot them and <b>fix</b> them.
</p>
<p>
To use the tool, you should enter the link to the
<a href="https://www.mediawiki.org/wiki/API:Main_page" target="_blank">API of the wiki</a> you want
to check.
For <b>Wikimedia</b> wikis, this is <code>https://&lt;example.org&gt;/w/api.php</code>.
For <b>Fandom</b> wikis, this is <code>https://&lt;wiki&gt;.fandom.com/api.php</code>.
</p>
<p>
If the application <b>refuses to connect</b> to the API and you are certain the URL is correct,
make sure that you allow scripts to be executed from the API you have entered by checking the
configuration of your <b>tracking blockers</b>.
These <b>external scripts</b> are necessary to provide support to older wikis that rely on
<a href="https://en.wikipedia.org/wiki/JSONP" target="_blank">JSONP requests</a> to interact with
the API.
</p>
<p>
If you need <b>help</b>, have a question, or found a bug, please
<a href="https://git.fwdekker.com/FWDekker/interlanguage-checker/issues/new" target="_blank">
open an issue</a>
or
<a href="https://fallout.fandom.com/wiki/User_talk:FDekker" target="_blank">
leave a talk message</a>.
</p>
</details>
<form id="inputs" data-status-card="inputs-status-card">
<label for="url">API</label>
<input id="url" type="url" placeholder="https://fallout.fandom.com/api.php" autocomplete="url"
autofocus />
<small id="url-hint" data-hint-for="url" data-hint="The URL to the wiki's api.php."></small>
<label for="article">Article</label>
<input id="article" type="text" placeholder="Master" />
<small id="article-hint" data-hint-for="article" data-hint="The title of the article to check."></small>
<button id="submit">Check</button>
</form>
<hr />
<article id="inputs-status-card" class="status-card hidden">
<output></output>
</article>
</section>
<section class="container-fluid">
<form id="network-table-form"></form>
</section>
<section class="container">
<footer id="footer"></footer>
</section>
</div>
</main>
<script src="https://static.fwdekker.com/lib/template/3.x.x/template.js?v=%%VERSION_NUMBER%%"></script>
<!--suppress HtmlUnknownTarget -->
<script src="bundle.js?v=%%VERSION_NUMBER%%"></script>
</body>
</html>