User "Santhosh.thottingal" posted a comment on MediaWiki.r102105.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/102105#c25958
Commit summary:

Adding dir="ltr" to the label, to prevent wrong appearance of the arithmetic 
expression.

Comment:

I read that Maths formulas may be written in right to left in arabic, but 
Hebrew prefers always left to right. There is a mention about this difference 
in the new BIDI handling specification for structured 
text(http://cldr.unicode.org/development/development-process/design-proposals/bidi-handling-of-structured-text).
 

So forcing direction as ltr may not be correct solution,  But what if we 
change, line 35 of MathCaptcha.class.php from

<code>          $sum = "{$a} {$op} {$b} = ";</code>
to 
<code>          $sum = "{$a}{$op}{$b} = ";</code> 

and leave directionality to browsers?

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to