2020-04-07 16:25:58 +02:00
|
|
|
# Interlanguage Checker
|
|
|
|
Check the consistency of MediaWiki interlanguage links in a simple overview.
|
2020-04-16 10:48:01 +02:00
|
|
|
|
|
|
|
## Introduction
|
|
|
|
[Interlanguage links](https://community.fandom.com/wiki/Help:Interlanguage_link) allow wikis to tell users where to find
|
|
|
|
translations of articles.
|
|
|
|
Without the [interlanguage extension](https://www.mediawiki.org/wiki/Extension:Interlanguage), each translation is
|
|
|
|
responsible for maintaining its own outgoing links.
|
|
|
|
As the number of translations grows, the network of links becomes more **complex**, and the number of **errors** grows.
|
|
|
|
|
|
|
|
The **Interlanguage Checker** 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 **fix** them.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
To use the tool, you should enter the link to the [API of the wiki](https://www.mediawiki.org/wiki/API:Main_page) you
|
|
|
|
want to check.
|
|
|
|
For **Wikimedia** wikis, this is <code><example.org>/w/api.php</code>.
|
|
|
|
For **Fandom** wikis, this is <code><wiki>.fandom.com/api.php</code>.
|
|
|
|
|
|
|
|
## Issues
|
|
|
|
If you need **help**, have a **question**, or found a **bug**, please
|
|
|
|
[open an issue](https://git.fwdekker.com/FWDekker/interlanguage-checker/issues/new) or
|
|
|
|
[leave a talk message](https://fallout.fandom.com/wiki/User_talk:FDekker).
|
2020-05-03 18:09:57 +02:00
|
|
|
|
|
|
|
## Development
|
|
|
|
### Requirements
|
|
|
|
* [npm](https://www.npmjs.com/)
|
|
|
|
|
|
|
|
### Setting up
|
2023-03-20 12:59:19 +01:00
|
|
|
Install the dependencies.
|
|
|
|
Run this after cloning the repo, and each time after pulling new commits.
|
|
|
|
```shell
|
|
|
|
npm ci
|
2020-05-03 18:09:57 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
### Building
|
2023-03-20 12:59:19 +01:00
|
|
|
* Build the tool in `dist/` for development
|
|
|
|
```shell
|
|
|
|
npm run dev
|
|
|
|
```
|
|
|
|
* Same as above, but automatically rebuild whenever source code is changed
|
|
|
|
```shell
|
|
|
|
npm run dev:server
|
|
|
|
```
|
|
|
|
* Build the tool in `dist/` for deployment
|
|
|
|
```shell
|
|
|
|
npm run deploy
|
|
|
|
```
|