mediawiki-extensions-Cite/tests
Adam Wight 87d1229bf2 Expose the footnote mark formatter label method
Behavior change: previously, an error would be rendered once the
custom markers run out. After this patch there is a graceful fallback
to default group rendering (eg. "lower-greek 1000").
This is a slight improvement, but is user-facing so should be
discussed before merging.

In future work we'll render custom marks programmatically so this edge
case would be unreachable, and since the error message only exists to
nudge editors to extend the custom group symbol sequence, this would
also become wasted effort.

This patch splits out a lower-level method which produces the bare
mark label, with no link or wikitext formatting.  The patch narrows
and simplifies the interface so that the method can be made available
to Parsoid, and will be converted to a service in a separate patch.

Bug: T377454
Change-Id: I719b60b46cdef0be7463d76e9125d75ab4f333ae
2024-10-30 12:14:10 +01:00
..
cypress [refactor] Move result items rendering to ReferenceResultWidget 2024-09-29 20:06:02 +02:00
parser Add parameters to Cite error messages in Parsoid 2024-08-27 12:01:30 +02:00
phpunit Expose the footnote mark formatter label method 2024-10-30 12:14:10 +01:00
qunit [refactor] Move result items rendering to ReferenceResultWidget 2024-09-29 20:06:02 +02:00