|This feature was removed completely in version 1.25.0.|
|Site Statistics: $wgDisableCounters|
|Disable page view counters.|
|Eingeführt in Version:||pre 1.1.0|
|Entfernt in Version:||1.25.0 ( )|
$wgDisableCounters determines whether or not to update the number of times a page has been viewed.
$wgDisableCounters is set to false, each page will have a counter in its footer saying: "This page has been accessed 256 times."
This setting also determines whether
Special:PopularPages is available.
The value of the counter is updated in
includes/WikiPage.php in the function
(In a previous version, this was
includes/Article.php in the function
$wgDisableCounters is also referred to in other script files.
|Warnung:||Once disabled you will lose the correct view counts forever!|
You can also retrieve such statistics through your apache (or squid if using squid caching) request logs.
Disabled in 1.25.0. See Requests for comment/Removing hit counters from MediaWiki core and other alternatives
- Extension:HitCounters - extension as an alternative for MediaWiki 1.25+