Clone this repo:
  1. 1a6c347 Localisation updates from https://translatewiki.net. by Translation updater bot · 3 days ago master
  2. 581ecb0 Localisation updates from https://translatewiki.net. by Translation updater bot · 11 days ago
  3. cfd791e Localisation updates from https://translatewiki.net. by Translation updater bot · 7 weeks ago
  4. eaccd7e build: Updating mediawiki/mediawiki-codesniffer to 48.0.0 by libraryupgrader · 3 months ago
  5. 3753f4a Localisation updates from https://translatewiki.net. by Translation updater bot · 4 months ago

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;