Page MenuHomePhabricator

WS Export not including dynamically-loaded interwiki pages
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Find or create book using interwiki content, using tags or IWPage templates; for example
  • Ora Maritima, Latin Wikisource
  • Export using WS Export to epub, pdf etc

What happens?:

  • Export ignores page content that belongs to another language wiki.

What should have happened instead?:

  • Export contains page content that belongs to another language wiki.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Samwilson subscribed.

Community-Tech isn't going to work on this.

The basic issue here is that lawikisource uses the InterWikiTransclusion.js script which pulls in page content from a different Wikisource. This is not something that WS Export (or any other reuser of the wiki's content) can easily access or replicate, and is I think a deprecated way of doing things. For instance, the source of the example work above looks like this: https://la.wikisource.org/api/rest_v1/page/html/Ora_Maritima%2FPreface — i.e. empty. This is what WS Export sees and can include in the export.

I'm not sure what the best solution is.

Samwilson renamed this task from WS Export not included interwiki pages to WS Export not including dynamically-loaded interwiki pages.Thu, Mar 28, 7:39 AM