mediawiki-extensions-Cite/tests/parser
Thiemo Kreuz c5fe49ff11 Fail early on nested extends="…", if possible
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
2019-12-09 10:54:52 +01:00
..
bookReferencing.txt Fail early on nested extends="…", if possible 2019-12-09 10:54:52 +01:00
citeParserTests.txt Add test cases for duplicate <references> with same group 2019-12-02 15:08:15 +00:00
citeSmokeTests.txt Stop formatting "1.2" as "1,2" in languages like German 2019-12-04 09:43:04 +01:00