wiki.techinc.nl/tests/phpunit/includes/logging
Moriel Schottlender 1fff06ad2d bidi-isolate usernames in Linker::userLink
Usernames can be in any script/language and include weak and neutral
characters like parentheses and dashes - these flip and make things
look very weird when displayed in the opposite directionality.

This fix adds <bdi> tags to isolate the username when we output user
links. This will affect displays like user personal tools, history
and diff view.

Also, fixing LogFormatterTestCase::removeSomeHtml() that expected
a very rigid html input (and thus failed with the new <bdi> wrapping)
to use strip_tags() instead.

Change-Id: I2db5f4b7d3a00726461eb6b699fbdf0ecd47a1cb
2016-08-31 17:44:06 -07:00
..
BlockLogFormatterTest.php Changed 'expiry' to American English 'expiration' in en.json 2016-02-18 20:07:27 +01:00
DeleteLogFormatterTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ImportLogFormatterTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
LogFormatterTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
LogFormatterTestCase.php bidi-isolate usernames in Linker::userLink 2016-08-31 17:44:06 -07:00
LogTests.i18n.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
MergeLogFormatterTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
MoveLogFormatterTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
NewUsersLogFormatterTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
PageLangLogFormatterTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
PatrolLogFormatterTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ProtectLogFormatterTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
RightsLogFormatterTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
UploadLogFormatterTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00