Merge "Add correct rtl value to some languages"
authorNikerabbit <niklas.laxstrom@gmail.com>
Wed, 25 Jul 2012 12:38:54 +0000 (12:38 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 25 Jul 2012 12:38:54 +0000 (12:38 +0000)
includes/Linker.php

index 5355140..083845d 100644 (file)
@@ -139,9 +139,9 @@ class Linker {
                if ( $t->isRedirect() ) {
                        # Page is a redirect
                        $colour = 'mw-redirect';
-               } elseif ( $threshold > 0 &&
-                          $t->exists() && $t->getLength() < $threshold &&
-                          $t->isContentPage() ) {
+               } elseif ( $threshold > 0 && $t->isContentPage() &&
+                       $t->exists() && $t->getLength() < $threshold
+               ) {
                        # Page is a stub
                        $colour = 'stub';
                }