Last modified: 2012-08-14 11:56:47 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T5016, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3016 - Editing RTL article confuses RC
Editing RTL article confuses RC
Status: RESOLVED DUPLICATE of bug 5724
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Normal minor with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://meta.wikimedia.org/wiki/User:T...
:
: 3514 3655 (view as bug list)
Depends on:
Blocks: rtl
  Show dependency treegraph
 
Reported: 2005-08-03 10:20 UTC by Tietew
Modified: 2012-08-14 11:56 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
quick-hack patch for ChangesList.php (1.58 KB, patch)
2005-08-03 10:23 UTC, Tietew
Details
add unicode-bidi:embed style to all internal links (644 bytes, patch)
2005-08-26 07:59 UTC, Tietew
Details

Description Tietew 2005-08-03 10:20:01 UTC
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>
Comment 1 Tietew 2005-08-03 10:23:25 UTC
Created attachment 758 [details]
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.
Comment 2 Tietew 2005-08-10 04:29:42 UTC
Following special pages seem to have this problem, too:
Watchlist, Log, DoubleRedirects, Allpages, Unusedimages, Wantedpages, 
Ipblocklist, Newpages, Imagelist, Ancientpages, BrokenRedirecrs, and 
Search.

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

Sample here: http://meta.wikimedia.org/wiki/User:Tietew/RTL_problem
Comment 3 Tietew 2005-08-26 07:59:19 UTC
Created attachment 832 [details]
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
Linker::make***Link().

But style is also added to all links in wiki content.
This patch may not be a best solution.
Comment 4 Brion Vibber 2005-09-20 01:33:15 UTC
*** Bug 3514 has been marked as a duplicate of this bug. ***
Comment 5 Brion Vibber 2005-10-09 02:21:39 UTC
*** Bug 3655 has been marked as a duplicate of this bug. ***
Comment 6 lɛʁi לערי ריינהארט 2005-11-06 08:48:53 UTC
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
and
bug 3887: create a special page for instring search of titles specifying %nn values

Best regards Reinhardt [[user:gangleri]]
Comment 7 yonidebest 2005-11-18 11:56:01 UTC
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
Comment 8 Rotem Liss 2006-05-20 14:50:53 UTC

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links