Last modified: 2014-07-15 16:41:37 UTC
$wgDisableCounters is used for two independent functions (partially thanks to bug 17795). The first one is disabling site counters (which is what's expected), the second one is displaying counters as they are (which is not expected in some situations (see below)). For example, if http://www.mediawiki.org/wiki/Extension:SysopDisableSiteCounters is installed it disables the counters *for the specific user*, and that means that this user all of the sudden cannot view the counter as well. This is *not* expected, and requires hacks to the MediaWiki software to re-enable the display again. What we need is a second variable: <code>$wgEnableCounterDisplay=true;</code> (no need for double negatives) in DefaultSettings.php.
Change 139114 had a related patch set uploaded by Rohan013: Fix for bug 54819, adds $wgEnableCounterDisplay variable in DefaultSettings.php https://gerrit.wikimedia.org/r/139114
Change 139114 had a related patch set uploaded by Rohan013: Add $wgEnableCounterDisplay variable in DefaultSettings.php https://gerrit.wikimedia.org/r/139114