interlanguage-checker/README.md

1.8 KiB

Interlanguage Checker

Check the consistency of MediaWiki interlanguage links in a simple overview.

Introduction

Interlanguage links allow wikis to tell users where to find translations of articles. Without the interlanguage extension, 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 you want to check. For Wikimedia wikis, this is <example.org>/w/api.php. For Fandom wikis, this is <wiki>.fandom.com/api.php.

Issues

If you need help, have a question, or found a bug, please open an issue or leave a talk message.

Development

Requirements

Setting up

Install the dependencies. Run this after cloning the repo, and each time after pulling new commits.

npm ci

Building

  • Build the tool in dist/ for development
    npm run dev
    
  • Same as above, but automatically rebuild whenever source code is changed
    npm run dev:server
    
  • Build the tool in dist/ for deployment
    npm run deploy