Merge "Allow limiting Monolog output using legacy settings"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Fri, 21 Nov 2014 18:52:27 +0000 (18:52 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 21 Nov 2014 18:52:27 +0000 (18:52 +0000)
resources/src/mediawiki.ui/components/checkbox.less
tests/phpunit/includes/utils/UIDGeneratorTest.php

index 913f901..0274538 100644 (file)
@@ -38,6 +38,8 @@
        line-height: @checkboxSize;
 
        * {
+               // reset font sizes (see bug 72727)
+               font: inherit;
                vertical-align: middle;
        }
 
index 50fa384..0e11cca 100644 (file)
@@ -35,14 +35,14 @@ class UIDGeneratorTest extends MediaWikiTestCase {
                        $lastId_bin = wfBaseConvert( $lastId, 10, 2 );
 
                        $this->assertGreaterThanOrEqual(
-                               substr( $id_bin, 0, $tbits ),
                                substr( $lastId_bin, 0, $tbits ),
+                               substr( $id_bin, 0, $tbits ),
                                "New ID timestamp ($id_bin) >= prior one ($lastId_bin)." );
 
                        if ( $hostbits ) {
                                $this->assertEquals(
-                                       substr( $id_bin, 0, -$hostbits ),
-                                       substr( $lastId_bin, 0, -$hostbits ),
+                                       substr( $id_bin, -$hostbits ),
+                                       substr( $lastId_bin, -$hostbits ),
                                        "Host ID of ($id_bin) is same as prior one ($lastId_bin)." );
                        }