Page MenuHomePhabricator

Parsoid Cite doesn't know about special group names like "lower-alpha" etc. and treats them like other group names like "xyz", "books", etc.
Closed, ResolvedPublic

Description

Special Parsoid Cite group names like {{enf-la}} or {{efn-lr}} are supposed to produce an alternatively
formatted reference sequences instead of the standard [1 2 3 4 5], such as [a b c d e f], or [ i ii iii iv v vi ].
Currently Parsoid Cite does not recognize these special group names and produce the correct reference format.

For more context see: https://en.wikipedia.org/wiki/Help:Footnotes#Footnotes:_groups``

More bug / phab context in T246761: [Bug] mobile-html: back link text doesn't match reference link text for reference groups.

Event Timeline

Verified the special group names are present in the data-mw-group attributes as produced by Parsoid Cite extension.
Verified that T246761 (on Apple iPhone 6+ with latest Wikipedia iOS app), is still producing the correct format for backlinks on that closed bug.
Notes: Parsoid Cite extension must deviate from Core Cite extensions handling of special group names such as lower-greek, so that VE gets numeric counters instead of language or style specific counters that it would not be able to continue to extend with additional counters of the same format. As such Parsoid Cite extension relies of CSS to see the data-mw-group attribute having a special group name like lower-greek, and provide custom format counters for display where needed. Mobile applications must provide equivalent detection and display of custom counter formats.