mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-27 16:30:12 +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 |
||
---|---|---|
.. | ||
integration | ||
unit | ||
CiteCSSFileModuleTest.php | ||
CiteDbTest.php | ||
CiteHooksTest.php | ||
CiteIntegrationTest.php | ||
ReferenceMessageLocalizerTest.php | ||
TestUtils.php |