mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-24 06:54:00 +00:00
ea6cea93ed
… 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 |
||
---|---|---|
.. | ||
parser | ||
phpunit | ||
selenium |