mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-12-19 02:00:40 +00:00
87d1229bf2
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 |
||
---|---|---|
.. | ||
ReferencePreviews | ||
AnchorFormatterTest.php | ||
CiteParsoidTest.php | ||
CiteTest.php | ||
FootnoteMarkFormatterTest.php | ||
ValidatorTest.php |