Page MenuHomePhabricator

Make Wikisource DoubleWiki.js script part of the DoubleWiki extension
Closed, DeclinedPublicFeature

Description

A lot of Wikisource are currently using https://wikisource.org/wiki/MediaWiki:DoubleWiki.js to add a "⇔" mark in the "other language" sidebar. It promps DoubleWiki with the given language. This feature should be part of the DoubleWiki extension

Event Timeline

Tpt renamed this task from Makes WIkisource DoubleWiki.js scrit part of the DoubleWiki extension to Makes WIkisource DoubleWiki.js script part of the DoubleWiki extension.Dec 6 2018, 10:37 AM

And if it’s in the extension, it could use PHP instead of JavaScript so that the links appear immediately on page load. Although I don’t know how much control extensions have over the language link list’s appearance.

Tacsipacsi renamed this task from Makes WIkisource DoubleWiki.js script part of the DoubleWiki extension to Make Wikisource DoubleWiki.js script part of the DoubleWiki extension.Apr 14 2022, 8:42 PM
Tacsipacsi changed the subtype of this task from "Task" to "Feature Request".

The unmaintained MediaWiki-extensions-DoubleWiki extension has been undeployed from Wikimedia servers and may get archived thus setting Priority to Low.

And yet it’s still used on a bunch of wikis

I believe that code is broken and does not do anything.

Some copies (like the Czech or German one) are completely broken and don’t do anything other than consuming bandwidth and CPU unnecessarily (they assume that HTML classes are listed in some given order). Others, like the Romanian, Hungarian or the oldwikisource one (the latter is linked in the task description) technically work: they add the ⇔ links to the language links, which add the ?match= parameters to the URLs – but those URLs don’t work anymore, since the extension disappeared, resulting in a confusing user experience. (Examples: Romanian, Hungarian, Danish, which imports the oldwikisource version.)

Both versions are bad and should have been cleaned up by a global interface editor when the extension was undeployed over half a year ago.

I've removed everything that was Wikisource-related :)