mediawiki / hit-counters
Provides per page view statistics
Requires (Dev)
This package is auto-updated.
Last update: 2024-10-15 01:27:35 UTC
README
In MediaWiki 1.25, hit counters have been removed. The reason is given in the commit message:
: The hitcounter implementation in MediaWiki is flawed and needs removal. For proper metrics, it is suggested to use something like Piwik or Google Analytics.
More discussion can be found at mediawiki.org.
If you wish to continue using the HitCounter's despite the flawed implementation, this extension should help.
Note that some steps will be needed to maintain you current hit count. When those steps are understood, they'll be documented.
Default settings
- $wgDisableCounters = false;
Set to true to disable them completely.
- $wgEnableAddPageId = false;
Set to true to display the page id on [[Special:PopularPages]].
- $wgEnableAddTextLength = false;
Set to true to display the page length on [[Special:PopularPages]].
- $wgHitcounterUpdateFreq = 1;