mediawiki-extensions-Cite/tests
Thiemo Kreuz 816b1b0add Remove newline characters from all error messages
These create bogus output, depending on the surrounding wikitext the
<ref> tag is used in. For example, this example wikitext:

* Example.<ref name="1">a</ref> More text.

… will be rendered with the "More text" sentence wrapped on the next
line, outside of the list. However, this does *not* happen in many of
the localizations, e.g. German, because many Tanslatewiki translators
did not copied the bogus \n. Why should they.

TL;DR: These newline characters either do nothing, or destroy the output.
In both cases the proper fix is to replace them with spaces.

Some of the test cases touched in this patch demonstrate the issue.

Change-Id: I395a40637a5293eda1f477963d252ce1a215f8b2
2020-01-24 12:29:14 +01:00
..
parser Remove newline characters from all error messages 2020-01-24 12:29:14 +01:00
phpunit Introduce dedicated error message for nested <ref extends=…> 2020-01-23 15:00:26 +01:00
selenium Use waitForModuleState from Util class 2019-10-24 10:48:32 +02:00