mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-24 06:54:00 +00:00
c5fe49ff11
This partly reverts Ied2e3f5. I haven't properly tested this before. Rendering a bad extends (that extends a <ref> that's already extended) not indented messes the order up and rips other extended <ref>s out of context. For now it might be better to stick to the previous, "magic" behavior: Such an extends behaves like it is extending the *parent*, and is ordered and indented as such. This is still not correct, but I feel this is much better than rendering such a bad extends on the top level. This patch also makes the code fail much earlier for a nested extends, if this decision can be made already. In this case the error message is rendered in the middle of the text (as other errors also are), not in the <references> section. Change-Id: I33c6a763cd6c11df09d10dfab73f955ed15e9d36 |
||
---|---|---|
.. | ||
CiteDataModuleTest.php | ||
CiteHooksUnitTest.php | ||
CiteKeyFormatterTest.php | ||
CiteParserHooksTest.php | ||
CiteParserTagHooksTest.php | ||
CiteUnitTest.php | ||
FootnoteBodyFormatterTest.php | ||
FootnoteMarkFormatterTest.php | ||
ReferenceMessageLocalizerUnitTest.php | ||
ReferenceStackTest.php |