Page MenuHomePhabricator

Can't transclude only one section from different language domain
Closed, InvalidPublic

Description

Hello,

I'm working on a Wikisource text which needs transclusion from a different language domain of a single section, throughout the whole range of pages.
While this is possible with the <pages/> tag (by using "onlysection"), it isn't with the current {{iwpages}}, which uses InterWikiTransclusion.js.

The API already supports this, it just needs a change in the aforementioned javascript.

Event Timeline

Dapal created this task.Feb 25 2018, 9:10 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 25 2018, 9:10 AM
Dapal added a comment.Feb 25 2018, 9:23 AM

I have a (tentative?) patch for this, I'm attaching it here, since I haven't been able to produce a differential :(

Hi @Dapal, welcome and thanks for looking at the code!
https://wikisource.org/wiki/MediaWiki:InterWikiTransclusion.js is not part of any source code repository (no Git, no review tools like Diffusion or Gerrit).
It is on-wiki content and needs to be changed by editing the wiki page. If you do not have sufficient rights I imagine that commenting on https://wikisource.org/wiki/MediaWiki_talk:InterWikiTransclusion.js might be the best way to go.

I'm tempted to close this task as invalid as we do not manage on-wiki content (like local JavaScript gadgets) in Phabricator. :)

Phe added a subscriber: Phe.Feb 25 2018, 12:04 PM

I applied your patch.

Billinghurst closed this task as Invalid.Feb 25 2018, 12:47 PM
Billinghurst added a subscriber: Billinghurst.

Code maintained at mul.wikisource.org