From 2f11a90b2264e1c71402d5a748947f197f35fb7a Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 14 May 2003 08:42:47 +0000 Subject: [PATCH] Fix for disabled page counters --- includes/Skin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.20.1