dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e0a11b
)
Fix for disabled page counters
author
Brion Vibber
<brion@users.mediawiki.org>
Wed, 14 May 2003 08:42:47 +0000
(08:42 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Wed, 14 May 2003 08:42:47 +0000
(08:42 +0000)
includes/Skin.php
patch
|
blob
|
history
diff --git
a/includes/Skin.php
b/includes/Skin.php
index
5f219bd
..
55e32e4
100644
(file)
--- 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 ( $wgDisableCount
er
s ) {
$s = "";
} else {
$count = $wgArticle->getCount();