mrephabricator added a comment.
Restricted Application added a project: wdwb-tech.


  As a rule, the direction should be set to "ltr" or "rtl" as appropriate if 
known for the language, and "auto" if the language is unknown.
  
  The main reason for this is that a lemma can include ambiguous characters and 
without the direction tags, lemmas with ambiguous characters at the beginning 
or end currently re-orient them according to the interface language.
  
  The alignment of the text to the left or right overall is not important by 
comparison. (Personally, I actually prefer that they all align to the same 
direction, left or right. As lemma representations are unordered, this means 
that for languages which use both RTL and LTR scripts, you end up with 
"zig-zag" shaped lists of statements where each entry is aligned to one side 
depending on which representation happened to be entered first.)
  
  Here is an example:
  If we have
  
  کدے…
  
  The ellipsis is the final character and should be shown to the left of the 
word, as:
  
  کدے…؜
  
  (Simulated here followed by the Arabic Letter Mark control character.) We can 
only get this behaviour if the lemma is tightly wrapped in dir="rtl" or 
dir="auto", or immediately followed by a control character (Right to Left Mark 
should be used for Hebrew, and Arabic Letter Mark for all other RTL scripts 
including non-Arabic ones like Divehi). Without this, the ambiguous character 
can end up anywhere. Since my interface is set to a RTL locale, this means that 
for example, a lemma like "-ed" shows up as "ed-" in various places, 
particularly if it is a lemma without a standard code. Every 
Proto-Indo-European lemma shows the asterisks and hyphens in the wrong 
position, but this would be fixed with dir="auto".

TASK DETAIL
  https://phabricator.wikimedia.org/T300261

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: mrephabricator
Cc: mrephabricator, Lucas_Werkmeister_WMDE, Jakob_WMDE, Astuthiodit_1, 
Prufkick, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, 
Nandana, Lahi, Gq86, GoranSMilovanovic, Mahir256, QZanden, Muhammed4IT, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Srdjan, MuhammadShuaib, LNDDYL, 
Psychoslave, Wikidata-bugs, aude, Huji, Amire80, Gryllida, Shizhao, Arrbee, 
Mbch331, Jay8g
_______________________________________________
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org

Reply via email to