Page MenuHomePhabricator

Parsoid parity for Cite: several wikis have backlink customization which doesn't work for Parsoid
Open, Needs TriagePublicBUG REPORT

Description

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

What happens?:

The legacy view shows alphabetic backlink markers:

image.png (118×46 px, 2 KB)

But Parsoid shows uncustomized numeric backlink markers:

image.png (118×46 px, 2 KB)

What should have happened instead?:

Parsoid (and its Cite plugin) should have rendered the backlinks using alphabetic markers.

Other information (browser name/version, screenshots, etc.):

Compare this with a similar customization for dewiki, which renders as alphabetic in both legacy and Parsoid views.

@ssastry has identified at least 5 wikis which have made this customization in a way that results in uncustomized Parsoid rendering.

Event Timeline

MSantos added subscribers: Lina_Farid_WMDE, MSantos.

@Lina_Farid_WMDE although we can work around this as we progress with the Parsoid roll-out, I'm adding to your teams backlog to triage, so we can ensure these workarounds are not needed anymore.

Let me know if you have any questions or concerns.

I looked at one of the wikis a bit more closely, and I suspect some of the issue stems from the fact that wikis might have diverged their backlink rendering since I originally had added custom css counters and those css counters have persisted through all the work WMDE has done. So, the fix would be to update the counter styles for all these wikis in the Cite repo. For starters, at least for those wikis, where the backlink rendering is now indo-arabic numerals (vs custom numerals), the fix might be to remove the custom counter styles added in the Cite repo. Seems to be the case for ext.cite.style.as.less and ext.cite.style.lo.less.

In other cases, maybe we need a counter-style provided where one doesn't exist right now. Examples: sewiki, gvwiki, bewwiki.

Alternatively, we override them in Mediawiki:Common.css of those wikis.

Change #1277678 had a related patch set uploaded (by Subramanya Sastry; author: Subramanya Sastry):

[mediawiki/extensions/Cite@master] Remove custom counter styles for as & lo wikis

https://gerrit.wikimedia.org/r/1277678

Change #1277678 merged by jenkins-bot:

[mediawiki/extensions/Cite@master] Remove custom counter styles for as & lo wikis

https://gerrit.wikimedia.org/r/1277678