Page MenuHomePhabricator

Interwiki transclusion: don't list pages missing in the source domain as blue/existing
Open, LowPublic

Description

  1. Look for an index page whose pagelist tag contains a language code (like <pagelist 36to533=it 566to576=it /> on https://en.wikisource.org/wiki/Index:The_Oxford_book_of_Italian_verse.djvu )
  2. Open the corresponding index page in the other language (in this case https://it.wikisource.org/wiki/Indice:The_Oxford_book_of_Italian_verse.djvu )

I. Observed: all the "foreign" pages in (1) are linked in blue, including pages which don't exist yet in the "source" language subdomain (in this case, it's a series of "it it it it it..." blue links).
II. Observed: some blue links (e.g. https://en.wikisource.org/wiki/Page:The_Oxford_book_of_Italian_verse.djvu/200 ) show the image and the header «This page does not need to be proofread. Its text comes from it.wikisource.org. Pagina:The Oxford book of Italian verse.djvu/200» (the name of the "foreign" page is shown, but no text is transcluded).
III. Expected: the index page should list missing foreign pages in red and return a 404 for them if accessed, like the source domain.

Event Timeline

Nemo_bis raised the priority of this task from to Needs Triage.
Nemo_bis updated the task description. (Show Details)
Nemo_bis added projects: ProofreadPage, Crosswiki.
Nemo_bis subscribed.
Tpt set Security to None.
Tpt added a project: All-and-every-Wikisource.
Tpt subscribed.

The ability to transclude pages between wikis isn't implemented at all by ProofreadPage but by a JS script on Wikisource. So, it should be done there.

So in other words, this needs to be tracked on-wiki rather than in Phabricator?

Not necessarily. This is useful for any ProofreadPage wiki, so it can be tracked for Wikimedia in the meanwhile and then either fixed locally or considered as one requirement for some future feature implementing this in MediaWiki itself.

For reference, this is the script: https://wikisource.org/wiki/MediaWiki:InterWikiTransclusion.js

It would be great to have this feature in ProofreadPage.