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 raised the priority of this task from to Needs Triage.
Ainali updated the task description. (Show Details)
Ainali added a project: Wikidata.
Ainali subscribed.
samuwmde added a project: RTL.
samuwmde subscribed.

image.png (533×1 px, 107 KB)
Still seems to be a problem. Please look at it.

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>]]