Author: nzmoihue
Description:
LRM spotted on Special:Contributions
Per http://www.w3.org/TR/its/#directionality we should avoid use of RLE and LRE (getDirMark()) and use html tags when is needed.
It is discussed why we should avoid direction control characters on http://www.w3.org/International/questions/qa-bidi-controls.en.php and http://www.w3.org/TR/html-bidi/
I think we must deprecate use of getDirMark() and getDirMarkEntity() on MediaWiki also.
Currently MediaWiki is using getDirMark() on these pages:
/includes/ChangesList.php
/includes/Linker.php
/includes/WikiPage.php
/includes/actions/HistoryAction.php
/includes/logging/LogPage.php
/includes/revisiondelete/RevisionDelete.php
/includes/specials/SpecialContributions.php
/includes/specials/SpecialDoubleRedirects.php
/includes/specials/SpecialListredirects.php
/includes/specials/SpecialNewpages.php
/includes/specials/SpecialProtectedpages.php
/includes/specials/SpecialShortpages.php
/includes/specials/SpecialWhatlinkshere.php
/includes/parser/Parser.php (is not critical)
And use of getDirMarkEntity()
/includes/ImagePage.php
/includes/Skin.php
AFAICS it is easy/possible to remove these usages by replacing them with suitable HTML tags and CSS styles.
Attachment of this bug is a screenshot of Chrome (a new version, after https://bugs.webkit.org/show_bug.cgi?id=93888) that shows useless LREs.
Version: unspecified
Severity: normal
Attached: