build: Updating mediawiki/mediawiki-phan-config to 0.15.0

Change-Id: I3d7a906d13d5aea04b0d346422d9eee945e495cc
1 file changed
tree: e63afeece4bce129e618c2223bc306b6dab88814
  1. .phan/
  2. i18n/
  3. includes/
  4. sql/
  5. tests/
  6. .editorconfig
  7. .eslintrc.json
  8. .gitignore
  9. .gitreview
  10. .phpcs.xml
  11. CODE_OF_CONDUCT.md
  12. composer.json
  13. COPYING
  14. extension.json
  15. Gruntfile.js
  16. HitCounters.i18n.alias.php
  17. HitCounters.i18n.magic.php
  18. Makefile
  19. package-lock.json
  20. package.json
  21. psalm-autoload.php
  22. psalm.xml
  23. README.md
  24. update.php
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;
  NODES
Note 1