From: Alexandre Emsenhuber Date: Sun, 27 Dec 2009 16:44:57 +0000 (+0000) Subject: Remove "non-message checks" from the header, like for the body to avoid rows in the... X-Git-Tag: 1.31.0-rc.0~38465 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=43f088aeb6f03e8e6ee19ef436a1b881163de599;p=lhc%2Fweb%2Fwiklou.git Remove "non-message checks" from the header, like for the body to avoid rows in the header with no associated items in the body --- diff --git a/maintenance/language/checkLanguage.inc b/maintenance/language/checkLanguage.inc index 022f8ce92d..a8aed252a4 100644 --- a/maintenance/language/checkLanguage.inc +++ b/maintenance/language/checkLanguage.inc @@ -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();