Page MenuHomePhabricator

LST material transcluded cross-wiki does not load consistently
Closed, InvalidPublic

Description

Recently I noted thhat when loading the following page:
https://en.wikisource.org/wiki/User:ShakespeareFan00/Sandbox/Ruffhead

The LST content transcluded from a different language wiki (la.wikisource.org) in this instance, did not load when the page is refreshed.

Event Timeline

jayvdb renamed this task from LST material trnaslcuded cross-wiki does not load consistently. to LST material transcluded cross-wiki does not load consistently.Dec 22 2015, 1:14 PM
jayvdb set Security to None.

That link triggers

TypeError: div_pagenumbers.offset(...) is undefined

loaded from https://en.wikisource.org/w/index.php?title=MediaWiki:PageNumbers.js
which might be related or not to the problem you're facing. I'd recommend to fix that first and recheck.

It shouldn't be triggering that error, given that I am using the official templates for doing a section based transclude.

In respect of where pagenumbers.js is getting tripped up, I'd have no idea where to start,

Amazing how looking into something else suggests why something isn't working the way you think it is ;:)

The cause of this issue appears to be that the PgaeNumbers.js was getting confused by seeing :

#Certain characters in indvidual page names :)
#Mutliple-Short page ranges
#Additonal explanations text.

Once all this additional material had been removed and a SINGLE pagelist susbstitued, and the Index on all three projects purged... The example loaded consistently on every refresh , over the course of 10 refreshes :)

The error note you encourted seems to confirm that Pagenumbers.js is getting confused by what it sees as unexpected material :) ,

I'm not going to mark this a fully resolved, because I'd like a confirmation, but it worksforme at the moment, but I have an explanation and work-around :)

ShakespeareFan00 triaged this task as Medium priority.

Re-opening this.

After some further investigations it's not the pagelist doing this as all three versions are synchronised to the same page numbering(in which the issue previously noted was outright removed.)

I've simplified the example down to the barest minimum.

The expected behaviour:
It should show a header section ( from en) followed by a Latin worded section (transcluded from la) and then the english translation.

The actual behaviour:
On loading the page only the english (en) sections display, purging or refreshing the page results in the la portion loading occasionally, but there's at present no logical pattern as to when it will or will not load the la portion.

I am to my knowledge not using anything more complex than LST and <ref></ref> tags, and the appropriate templates at English Wikisource for doing the transcription.

Does the transclusion work consistently or inconsistently at laWS?

Then which way is inconsistent? laWS to enWS or v.v.?

The current transclusion is in the la->ws to en->ws direction :)

well, try the other way to see if it is an issue. Will need to be done, and it pairs the works and gives information to address your issue

The two sandbox.

https://la.wikisource.org/wiki/Usor:ShakespeareFan00/Sandbox

https://en.wikisource.org/wiki/User:ShakespeareFan00/Sandbox/Ruffhead

The English portion transcludes at the Latin side ( first example) , but the Latin portion does not always load or translcude on the English side.

(I am going to do yet another 'safe-mode' browsing tests, to see if this something really obscure in my configuration.)

ShakespeareFan00 lowered the priority of this task from Medium to Lowest.

Closing as invalid for now as I can't determine the cause, other than an external interaction in my browser.