mediawiki-extensions-Cite/src
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
..
Hooks Use namespaced classes 2024-10-19 23:25:16 +02:00
Parsoid Merge "Use DataMwError" 2024-10-04 23:08:07 +00:00
ReferencePreviews Use more narrow UserIdentity interface where possible 2024-10-02 12:56:28 +02:00
ResourceLoader Use namespaced classes 2024-10-19 23:25:16 +02:00
AnchorFormatter.php Drop unused cite_reference(s)_link_prefix messages 2024-01-04 13:17:42 +01:00
Cite.php Expose the footnote mark formatter label method 2024-10-30 12:14:10 +01:00
ErrorReporter.php Use namespaced classes 2024-10-19 23:25:16 +02:00
FootnoteMarkFormatter.php Expose the footnote mark formatter label method 2024-10-30 12:14:10 +01:00
ReferenceListFormatter.php Replace isset() with null check 2024-10-27 14:36:26 +01:00
ReferenceMessageLocalizer.php Use namespaced classes 2024-10-19 23:25:16 +02:00
ReferenceStack.php Replace isset() with null check 2024-10-27 14:36:26 +01:00
ReferenceStackItem.php Move extendsCount into parent ref item 2024-01-10 11:55:16 +01:00
ServiceWiring.php Move Reference Previews user preference into the Cite extension 2024-09-10 15:33:50 +02:00
Validator.php Replace isset() with null check 2024-10-27 14:36:26 +01:00