https://bugzilla.wikimedia.org/show_bug.cgi?id=40258
Web browser: ---
Bug #: 40258
Summary: Deprecating and removing usage of RLE and LRE on
MediaWiki
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General/Unknown
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Mobile Platform: ---
Created attachment 11113
--> https://bugzilla.wikimedia.org/attachment.cgi?id=11113
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.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l