https://bugzilla.wikimedia.org/show_bug.cgi?id=13673
Eran Roz <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #6 from Eran Roz <[email protected]> 2012-05-08 19:29:08 UTC --- I'm not sure what is the best solution here: Mixed RTL and LTR lists doesn't look well, but English reference shown as RTL looks bad too. In Hebrew Wikipedia I created a hack for setting the directionality using some CSS and overriding the reference name: in common.css I added the following CSS li[id|="cite_note-hebrewRTL"] { direction:rtl; } li[id|="cite_note-LTR"] { direction:ltr; margin-left:3.2em; } and users can exlicity set the direction by giving name to ref with the correct prefix: <ref name="LTR-source">LTR reference</ref> <ref name="hebrewRTL-source">RTL reference (which used when most of the references are LTR and the <references/> it wrapped by dir="ltr")</ref> An example to it: http://he.wikipedia.org/wiki/%D7%A4%D7%A8%D7%A0%D7%A1%D7%95%D7%90%D7%94_%D7%94%D7%95%D7%9C%D7%A0%D7%93#.D7.94.D7.A2.D7.A8.D7.95.D7.AA_.D7.A9.D7.95.D7.9C.D7.99.D7.99.D7.9D However, this hack uses CSS rules that are not supported by old browsers, and it isn't user friendly. Another [wrong] solution is to use the new dir="auto": the message MediaWiki:Cite_references_link_one could just declare dir="auto" for the li - this currently works only in Chrome. it doesn't requires the user to declare the direction of each reference, but sometimes users may want to explicitly define the direction (example: <ref>Google הוא מנוע חיפוש</ref>). -- 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 [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
