http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89466

Revision: 89466
Author:   huji
Date:     2011-06-04 14:33:01 +0000 (Sat, 04 Jun 2011)
Log Message:
-----------
Follow up to r89419:
Per Brion's comment on Code Review, a generically named ltr class is created 
and used to reduce the number of rules

Modified Paths:
--------------
    trunk/phase3/includes/specials/SpecialVersion.php
    trunk/phase3/skins/common/shared.css

Modified: trunk/phase3/includes/specials/SpecialVersion.php
===================================================================
--- trunk/phase3/includes/specials/SpecialVersion.php   2011-06-04 14:18:29 UTC 
(rev 89465)
+++ trunk/phase3/includes/specials/SpecialVersion.php   2011-06-04 14:33:01 UTC 
(rev 89466)
@@ -146,7 +146,7 @@
                foreach( $software as $name => $version ) {
                        $out .= "<tr>
                                        <td>" . $name . "</td>
-                                       <td>" . $version . "</td>
+                                       <td class=\"ltr\">" . $version . "</td>
                                </tr>\n";
                }
 

Modified: trunk/phase3/skins/common/shared.css
===================================================================
--- trunk/phase3/skins/common/shared.css        2011-06-04 14:18:29 UTC (rev 
89465)
+++ trunk/phase3/skins/common/shared.css        2011-06-04 14:33:01 UTC (rev 
89466)
@@ -709,22 +709,10 @@
        background-image: url(images/sort_down.gif); 
 }
 
-/* Special:Version */
-#sv-software td {
-       /* version numbers are always ltr (and otherwise an RLE can be 
inserted) */
+/* LTR content in RTL layout */
+.ltr {
        /* @noflip */
        direction: ltr;
-}
-
-/* LTR content in RTL layout, e.g. SQL queries inside DB error messages */
-div.ltr {
-       /* @noflip */
-       direction: ltr;
-}
-
-span.ltr {
-       /* @noflip */
-       direction: ltr;
        unicode-bidi: embed;
 }
 


_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to