Diffusion extension-HitCounters (master)
README.md
README.md
HitCounters
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;
Content licensed under Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 unless otherwise noted; code licensed under GNU General Public License (GPL) 2.0 or later and other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct. · Wikimedia Foundation · Privacy Policy · Code of Conduct · Terms of Use · Disclaimer · CC-BY-SA · GPL · Credits