mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-24 06:54:00 +00:00
1bd66081f7
This makes one of the last remaining edge-cases about non-empty, but non-visible content (a <ref> that only contains whitespace) behave identical to all other places. We already reported it as being empty everywhere else, except inside of <references>. Note that the test cases look like they are reporting the same errors twice. But this is not the case: The first set of errors is about <ref name="…"> inside of <references> not having visible content. This should always be reported, even if the <ref> got content from somewhere else on the page. The second set of errors is when a <ref name="…"> *never* got any content. This patch will slightly increase the numbers of errors reported. Change-Id: I4a156aa9e466f735d92fe0ba5cc0678ec8bbdd50 |
||
---|---|---|
.. | ||
bookReferencing.txt | ||
citeParserTests.txt | ||
citeSmokeTests.txt |