mediawiki-extensions-Cite/tests
Thiemo Kreuz b10dd4ec27 Block de-facto empty <ref> as if it's empty
The use case we care about is this:
<ref extends="some_book"> </ref>

It doesn't make sense that works, but the following doesn't:
<ref extends="some_book"></ref>

We decided that both need to behave the same.

For consistency this patch is applying the same change to all references,
no matter if they use the extends attribute or not. This is an actual
change and might make existing wikitext render differently. However, I
would like to argue that all wikitext that was using this was broken. The
effect of a <ref> </ref> with some whitespace is that the <references>
section at the end of the article will contain – well – an empty footnote.

Bug: T237241
Change-Id: Iaee35583eabcb416b0a06849b89ebbfb0fb7fef9
2019-11-20 15:07:54 +00:00
..
parser Block de-facto empty <ref> as if it's empty 2019-11-20 15:07:54 +00:00
phpunit Merge "Don't pass a Title object around that's not needed" 2019-11-19 16:09:13 +00:00
selenium Use waitForModuleState from Util class 2019-10-24 10:48:32 +02:00