Page MenuHomePhabricator

RTL with LTR in edit summaries breaks
Open, LowPublic

Description

When the edit summary contains both RTL and LTR it breaks. Se for example https://www.wikidata.org/w/index.php?title=Q3013215&curid=2880827&diff=292663898&oldid=250877025 where it becomes

(‎Page moved from [fawiki:ملت شاد (ایس آو بیس)] to [fawiki:ملت شاد (ترانه)])

The parenthesis are wrong (but they are correctly showed in the site links). The problem was discovered through the watchlist on Wikipedia.

Event Timeline

Ainali created this task.Jan 17 2016, 7:48 AM
Ainali updated the task description. (Show Details)
Ainali raised the priority of this task from to Needs Triage.
Ainali added a project: Wikidata.
Ainali added a subscriber: Ainali.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptJan 17 2016, 7:48 AM
samuwmde triaged this task as Low priority.
samuwmde added a subscriber: samuwmde.

Still seems to be a problem. Please look at it.

Restricted Application added a project: I18n. · View Herald TranscriptFeb 7 2018, 3:43 PM
Amire80 moved this task from Untriaged to RTL on the I18n board.Feb 26 2018, 10:38 AM

Notes:

  1. This works based on user language, not sitelang (e.g uselang can workaround it: https://www.wikidata.org/w/index.php?title=Q3013215&curid=2880827&diff=292663898&oldid=250877025&uselang=fa )
  2. Setting the directionality should be to the sitelang without the site prefix e.g [[fa:<span dir="rtl">FATITLE</span>]]