mediawiki-extensions-Cite/tests
Thiemo Kreuz ea6cea93ed Move bad dir="…" error reporting down to the renderer
… and make the error message for bad dir="…" shorter and more to the
point.

Now I understand why the error reporting was not done when $text was
empty: the error was actually appended to $text, which messes with
everything else that also works with the $text variable! This even
includes the API. This error message was exposed via the API. That was
certainly a bug.

With this patch, all error checking for the dir="…" attribute is now
done way down, when rendering the <references> section.

Note this also fixes a bug where the dir="…" was *not* rendered when
previewing a section.

Change-Id: I4ab0cb510973ed879c606bfaa394aacc91129854
2019-11-22 10:07:28 +01:00
..
parser Move bad dir="…" error reporting down to the renderer 2019-11-22 10:07:28 +01:00
phpunit Move bad dir="…" error reporting down to the renderer 2019-11-22 10:07:28 +01:00
selenium Use waitForModuleState from Util class 2019-10-24 10:48:32 +02:00