They don't work on any pages of enwiki.
Description
Details
Related Objects
Event Timeline
@ssastry says "This doesn't look like a generic bug -- I see this working in the article namespace for sure, even in infoboxes .. wonder if it is specific to that page OR to template namespace in general. Will continue poking later."
This functionality comes from https://www.mediawiki.org/wiki/Extension:Popups and looks like we need to look there for breakage.
While references are rare on wikivoyages, I confirmed this doesn't work on enwikivoyage either. So, looks like it might be an exception rather than the norm that it works on huwiki main namespace with Parsoid HTML.
Change #1018262 had a related patch set uploaded (by Subramanya Sastry; author: Subramanya Sastry):
[mediawiki/core@master] WIP: Convert page-internal link fragments to pure fragment urls
Change #1018262 merged by jenkins-bot:
[mediawiki/core@master] ExtractBody: Convert page-internal link fragments to pure fragment urls
Change #1019750 had a related patch set uploaded (by Subramanya Sastry; author: Subramanya Sastry):
[mediawiki/core@master] Set Parsoid page title in ParserOutput extension data + use it
These work everywhere now, but the reference previews are slightly different from legacy ... the content selection code in the reference preview code probably needs an update for Parsoid's cite output. The difference is especially obvious for named references, unless of course the new output is the preferred version. :)
I am going to leave this open for a bit to see if we can fix that as well.
Change #1019750 merged by jenkins-bot:
[mediawiki/core@master] ExtractBody: Use page title recorded in ParserOutput
I don’t see any difference when I hover over [3] or [1] in the first paragraph of https://en.wikipedia.beta.wmflabs.org/wiki/Cat (legacy parser, Parsoid). Could you clarify what difference you mean? Or are there any changes that are yet to hit Beta Cluster?
This is already in production now.
Take a look at https://en.wikipedia.org/wiki/Hampi_(town)?useparsoid=1 and hover over reference 3 with Parsoid and with legacy output. Similarly https://it.wikipedia.org/wiki/Luna?useparsoid=1 (reference 1)
That said, looks likes this doesn't affect huwiki.
Ah, I see. We tested two completely different pieces of software:
- On huwiki and enwiki beta (and probably the vast majority of wikis), Reference Previews extension is used.
- On enwiki and itwiki (and likely a few other wikis), the older Reference Tooltips gadget (by @Yair_rand and @Jack_who_built_the_house) is enabled by default, which makes Reference Previews disable itself.
So the extension works as expected, and the gadget kinda works.