From: Chad Horohoe Date: Thu, 6 Aug 2009 22:35:19 +0000 (+0000) Subject: Followup r54516, remove globals entirely. X-Git-Tag: 1.31.0-rc.0~40454 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=c7fcdd956c0e2881ad61ca978fc50730ff32a608;p=lhc%2Fweb%2Fwiklou.git Followup r54516, remove globals entirely. --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 73e80be62f..328439a9fa 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -4155,16 +4155,3 @@ $wgCrossSiteAJAXdomainsRegex = false; * The minimum amount of memory that MediaWiki "needs"; MediaWiki will try to raise PHP's memory limit if it's below this amount. */ $wgMemoryLimit = "50M"; - -/** - * Allow extensions to add Statistics at the end of Special:Statistics. - */ -$wgAllowStatsOther = true; - -/** - * Statistics which add at the end of Special:Statistics. - * Use: $wgStatsOther[''] = ; - * Example: $wgStatsOther['Time since 01.01.1970'] = time(); - */ -$wgStatsOther = array(); - diff --git a/includes/specials/SpecialStatistics.php b/includes/specials/SpecialStatistics.php index 66f31dc49f..e35fac8f19 100644 --- a/includes/specials/SpecialStatistics.php +++ b/includes/specials/SpecialStatistics.php @@ -266,7 +266,7 @@ class SpecialStatistics extends SpecialPage { } private function getOtherStats( $stats ) { - global $wgLang, $wgAllowStatsOther, $wgStatsOther; + global $wgLang; $return = Xml::openElement( 'tr' ) . Xml::tags( 'th', array( 'colspan' => '2' ), wfMsgExt( 'statistics-header-hooks', array( 'parseinline' ) ) ) .