mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-24 06:54:00 +00:00
65c8967c32
This fixes a whole bunch of inconsistencies: * The dir attribute is now trimmed, as most others already are. This is an actual user-facing change. * The internal representation is now false in case the value was invalid, not an empty string any more. * Null means the attribute was not present. This is now always used, even in the return values that are meant to represent an error state. No existing behavior changes. * The internal representation does not contain an HTML snippet any more, but the raw value "ltr" or "rtl", or null. Note this might influence the API, because the API actually exposes the internal representation. However, we are pretty sure the API is not used anywhere. Even if, exposing HTML code was most certainly an unwanted and unexpected effect of the patch that introduced the dir attribute. This does make this a bugfix, I would argue. Change-Id: Ic385d9ab36fa0545c374d3d63063028ae4e449d4 |
||
---|---|---|
.. | ||
unit | ||
CiteCSSFileModuleTest.php | ||
CiteErrorReporterTest.php | ||
CiteHooksTest.php | ||
CiteTest.php |