Remove "non-message checks" from the header, like for the body to avoid rows in the...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 27 Dec 2009 16:44:57 +0000 (16:44 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 27 Dec 2009 16:44:57 +0000 (16:44 +0000)
maintenance/language/checkLanguage.inc

index 022f8ce..a8aed25 100644 (file)
@@ -384,7 +384,7 @@ ENDS;
        function outputWiki() {
                global $wgContLang, $IP;
                $detailText = '';
-               $rows[] = '! Language !! Code !! Total !! ' . implode( ' !! ', $this->checks );
+               $rows[] = '! Language !! Code !! Total !! ' . implode( ' !! ', array_diff( $this->checks, $this->nonMessageChecks() ) );
                foreach ( $this->results as $code => $results ) {
                        $detailTextForLang = "==$code==\n";
                        $numbers = array();