Page MenuHomePhabricator

Parsoid: share footnote marker renderer with legacy parser
Closed, ResolvedPublic

Description

Create a MediaWiki service to provide the footnote marker, with signature (groupName, groupIndex, extendsIndex) -> (markerString). Minimize dependencies for this service. It's fine to read from global configuration and i18n in this opaque service.

Quirks which can be left out of scope for now:

  • Page content language may differ from wiki default content language, on multilingual wikis.
  • LanguageConverter

Event Timeline

Change #1082429 had a related patch set uploaded (by Awight; author: Awight):

[mediawiki/extensions/Cite@master] [WIP] Expose the footnote mark formatter label method

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

Change #1082440 had a related patch set uploaded (by Awight; author: Awight):

[mediawiki/extensions/Cite@master] [WIP] Demonstrate programmatic alphabet marks

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

Change #1082446 had a related patch set uploaded (by Awight; author: Awight):

[mediawiki/extensions/Cite@master] [WIP] Crude Parsoid wiring for footnote mark formatting

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

Proof-of-concept code is attached to the task, and now we'll wait until discussing with the Content Transformers team.

Change #1082512 had a related patch set uploaded (by Awight; author: Awight):

[mediawiki/extensions/Cite@master] Split apart mark formatting into a simpler labeler

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

Change #1082560 had a related patch set uploaded (by Awight; author: Awight):

[mediawiki/extensions/Cite@master] Prematurely move References test to integration

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

Change #1082564 had a related patch set uploaded (by Awight; author: Awight):

[mediawiki/extensions/Cite@master] Zoom out test to public interface

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

awight renamed this task from Parsoid: wire l10n method for content language digits to Parsoid: share footnote marker renderer with legacy parser .Oct 30 2024, 8:38 AM
awight updated the task description. (Show Details)

Change #1082429 merged by jenkins-bot:

[mediawiki/extensions/Cite@master] Expose the footnote mark formatter label method

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

Change #1082512 merged by jenkins-bot:

[mediawiki/extensions/Cite@master] Split apart mark formatting into a simpler labeler

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

Change #1082560 merged by jenkins-bot:

[mediawiki/extensions/Cite@master] Prematurely move References test to integration

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

Change #1082446 merged by jenkins-bot:

[mediawiki/extensions/Cite@master] Parsoid wiring for footnote mark formatting

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

Change #1082564 abandoned by Awight:

[mediawiki/extensions/Cite@master] Zoom out test to public interface

Reason:

Irrelevant after I6f4983c4288bf2995

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

  NODES
Note 17
Project 3