https://bugzilla.wikimedia.org/show_bug.cgi?id=39257
Web browser: ---
Bug #: 39257
Summary: lang and dir attributes must be applied to each
editing box on "List of pages linked to this item"
Product: MediaWiki extensions
Version: unspecified
Platform: All
URL: http://wikidata-test-repo.wikimedia.de/wiki/Data:Q2?us
elang=en
OS/Version: All
Status: NEW
Keywords: i18n
Severity: normal
Priority: Unprioritized
Component: WikidataRepo
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Blocks: 36637
Classification: Unclassified
Mobile Platform: ---
Created attachment 10954
--> https://bugzilla.wikimedia.org/attachment.cgi?id=10954
Screenshot showing that the Hebrew word "helium" appears on the left-hand side
instead of the right-hand side. This affects not just alignment, but also
cursor movement, backspace button behavior etc.
When I'm editing links to other language versions, the box for editing the link
target does not define its language and direction using HTML lang and dir
attributes and therefore shows the Hebrew word on the wrong side. If I would be
using the Hebrew interface, it would show English words on the wrong side.
The dir attribute is obviously essential: without proper direction definition,
there will be an abundance of problems with editing left-to-right text in
right-to-left environments and vice versa.
The lang attribute is essential, too, even though it is less obvious - it is
used for proper font rendering in some languages, for speech recognition, for
spell checking and for other features.
lang and dir attributes must also be applied to elements that just show words
in foreign languages (<td class="wb-sitelinks-link"> etc.). And even more
generally, lang and dir attributes must be applied whenever it is known that an
element is written in a different language.
See http://www.w3.org/TR/html401/struct/dirlang.html for reference; it's a bit
old, but completely relevant.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l