Extension:Cognate

This MediaWiki extension creates a central store where the page titles of all translations for a page are stored. The extension can then generate translation links across wiki projects.

It works on the assumption that (most) page titles are the same across languages, as it is the case for the Wiktionary projects. Some research still has to be done to what extent the page titles differ according to project/language-specific spelling rules.

This extension is an attempt to solve the task "Centralize interwiki language links for Wiktionary"

"Cognate" is a linguistic concept, meaning same words in different languages developed from the same origin. Since this extension has a similar translation mechanism, it makes for a nice short extension name, even when the actual concept is different.

Testing environment
A testing environment has been created for the extension on Wikimedia Labs made of the following sites: These sites are linked together using the Cognate extension with added interwiki sorting provided by the InterwikiSorting extension.
 * https://enwiktionary-cognate.wmflabs.org
 * https://dewiktionary-cognate.wmflabs.org
 * https://frwiktionary-cognate.wmflabs.org

Some sample pages showing the extension at work can be seen below: Feel free to poke around the site and test out the linking but please try to keep the above examples intact.
 * EN, FR, DE - Pages showing a regular title that exactly matches other titles
 * EN, DE - Pages showing titles that when normalized match each other

Still to come

 * T149688 - Overwriting of interwiki links using wikitext on an article.
 * T148988 - An updated database schema will be used, but the functionality will remain the same.