From: Brion Vibber Date: Wed, 14 May 2003 08:42:47 +0000 (+0000) Subject: Fix for disabled page counters X-Git-Tag: 1.1.0~562 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=2f11a90b2264e1c71402d5a748947f197f35fb7a;p=lhc%2Fweb%2Fwiklou.git Fix for disabled page counters --- diff --git a/includes/Skin.php b/includes/Skin.php index 5f219bdec3..55e32e42c8 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -527,13 +527,13 @@ function toggleVisibility( _levelId, _otherId, _linkId) { function pageStats() { global $wgOut, $wgLang, $wgArticle; - global $oldid, $diff; + global $oldid, $diff, $wgDisableCounters; if ( ! $wgOut->isArticle() ) { return ""; } if ( isset( $oldid ) || isset( $diff ) ) { return ""; } if ( 0 == $wgArticle->getID() ) { return ""; } - if ( $wgDisableCounts ) { + if ( $wgDisableCounters ) { $s = ""; } else { $count = $wgArticle->getCount();