Page MenuHomePhabricator

Add user interface or easy configuration option for managing the interwiki database
Open, MediumPublic

Description

Currently, managing interwiki links requires either manipulating the database tables, or using an extension (currently Extension:Interwiki is maintained) to affect the settings through a special page.

However it would be more straightforward and less prone to error -- compared to manipulating DB tables -- as well as less cumbersome to be able to directly specify interwiki prefixes and their targets via the interface, through the namespace "Mediawiki:", as with many other aspects.

Or alternatively through PHP structures in LocalSettings.php, which would enable the synchronisation of interwiki settings between several wiki, in a farm, for example. The latter functionality was provided by the defunct Extension:InterWiki

Event Timeline

Or alternatively through PHP structures in LocalSettings.php, which would enable the synchronisation of interwiki settings between several wiki, in a farm, for example. The latter functionality was provided by the defunct Extension:InterWiki

You can do that with $wgInterwikiCache as per https://noc.wikimedia.org/conf/highlight.php?file=interwiki.php

The format isn't so user friendly though

Krinkle renamed this task from Managing interwiki through interface or config to Add user interface or easy configuration option for managing the interwiki database.Jul 30 2020, 10:02 PM
Krinkle added a subscriber: Krinkle.

I'm not sure it's appropiate to add such interface directly in core. However, all the relevant capabilities to make this possible are there, and the Interwiki extension seems to provide this. Are there shortcomings to the extensions's current interface?

Note that the Interwiki extension is bundled with MediaWiki core, so that is effectively the same as being part of core as far as site admins and end users are concerned. Tagging Core Platform to perhaps make a decision on this.

Krinkle triaged this task as Medium priority.Jul 30 2020, 10:05 PM

Change 720393 had a related patch set uploaded (by Sophivorus; author: Sophivorus):

[mediawiki/extensions/Interwiki@master] Add a field to Special:Interwiki to add/edit the API URL of interwiki prefixes

https://gerrit.wikimedia.org/r/720393

Change 720393 merged by jenkins-bot:

[mediawiki/extensions/Interwiki@master] Add a field to Special:Interwiki to add/edit the API URL of interwiki prefixes

https://gerrit.wikimedia.org/r/720393