https://bugzilla.wikimedia.org/show_bug.cgi?id=37705

--- Comment #20 from Marcin Cieślak <marcin.cies...@gmail.com> 2012-07-14 
17:34:47 UTC ---
I think that the proper fix is to display HTML direction tags instead of
Unicode characters; this way CSS has a chance to refer to the proper first
character. 

There are two possible solutions:

1) Encapsulate language name output in some generic method (similar to
wfMsgHtml) that generates HTML tags (when HTML is expected) instead of
directional marks. This will probably be difficult as language names are not
encapsulated as objects and we have things like (taken from Xml.php):


        foreach( $languages as $code => $name ) {
            $options .= Xml::option( "$code - $name", $code, ($code ==
$selected) ) . "\n";
        }

2) Extend $coreLanguageNames to provide directionality as additional metadata
and hack in the use of it whenever the name is used.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to