Page MenuHomePhabricator

Editing RTL article confuses RC
Closed, ResolvedPublic


Author: tietew-mediazilla

At normal time, RC shows:

  • (diff) (hist) . . articlename; time . . contributor (talk)

But when articlename is RTL language such as Parsian, it shows:

  • (diff) (hist) . . contributor . . time ;articlename (talk)

This is a valid behavior of browsers obaying Unicode bidirectional algorithm.
But users will confuse.

This problem is at least in RC, history, and user contributes.

Unicode-bidi CSS property will solve this problem:

<span style="unicode-bidi:embed">articlename</span>

Version: unspecified
Severity: minor



Event Timeline

bzimport raised the priority of this task from to Normal.Nov 21 2014, 8:45 PM
bzimport set Reference to bz3016.
bzimport added a subscriber: Unknown Object (MLST).
bzimport created this task.Aug 3 2005, 10:20 AM

tietew-mediazilla wrote:

quick-hack patch for ChangesList.php

This patch is a quick-hack.
Fixes only RC and RClinked.
I confirmed it is effective for IE and Mozilla.


tietew-mediazilla wrote:

Following special pages seem to have this problem, too:
Watchlist, Log, DoubleRedirects, Allpages, Unusedimages, Wantedpages,
Ipblocklist, Newpages, Imagelist, Ancientpages, BrokenRedirecrs, and

Generally, all pagename including username should be enclosed by
`unicode-bidi:embed' style.

Sample here:

tietew-mediazilla wrote:

add unicode-bidi:embed style to all internal links

An alternative patch to Linker.php.

This patch adds "unicode-bidi:embed" style to *all* internal links using

But style is also added to all links in wiki content.
This patch may not be a best solution.


brion added a comment.Sep 20 2005, 1:33 AM
  • Bug 3514 has been marked as a duplicate of this bug. ***
brion added a comment.Oct 9 2005, 2:21 AM
  • Bug 3655 has been marked as a duplicate of this bug. ***

gangleri wrote:

related to this
bug 3888: BiDi vulnerability: RIGHT-TO-LEFT OVERRIDE - U 202E in titles /
usernames generates a mess

That bug is about creating a title using a RIGHT-TO-LEFT OVERRIDE - U 202E
without Unicode a balanced POP DIRECTIONAL FORMATTING - U 202C. This could occur
in titles usernames and as an error configuration in MediaWiki messages .

To my understanding such combinations should occur only in "balanced" numbers.

see also
bug 3819: strip phantom general punctuation characters from page titles
bug 3887: create a special page for instring search of titles specifying %nn values

Best regards Reinhardt [[user:gangleri]]

yonidebest wrote:

I would like to add a character to our Hebrew Wikipedia
RC page.

I do not know what this character is called, though I
can create it by pressing Ctrl + the "]" button. It
adds an invisible "fixed" space. Adding this space
right after the time displayed in the should fix this
problem we have.

I would also like to add it before and after the date
used in ~~~~ and ~~~~~ functions.

How can I do this? or, more likely, who can do/try this
for me?

Thanks, Yoni

rotemliss wrote:

*** This bug has been marked as a duplicate of 5724 ***

Restricted Application added a project: I18n. · View Herald TranscriptJun 2 2015, 2:20 PM