Extension:HitCounters

The HitCounters extension provides the page views functionality that was removed in MediaWiki 1.25. HitCounters displays the view count in the page footer and the most popular pages on a special page called Special:PopularPages.

Differences from core MediaWiki implementation
Before MediaWiki 1.25, the page views counting functionality was in core MediaWiki. This extension is based on that same code, but was deliberately done in a more lightweight way in order to speed up processing time. Many lines of superfluous code were removed. Also, the old MediaWiki core code did numerous database queries on every page hit; these have all been removed as well. This change may possibly lead to some inaccuracies in the data.

The core differences that wiki administrators need to know are:
 * The hit counts are stored in cache.
 * The visible hit count at the bottom of each page is updated only once per day. (Pages with hit count less than 100 are updated once per minute.)
 * If you refresh your browser on a wiki page, that hit is ignored.

Localisation
Special page aliases should be created in HitCounters.i18n.magic.php, and magic word aliases in HitCounters.i18n.magic.php.

Incompatible extensions
I need bug reports in Phabricator so that they can be worked on. If you run into a problem with one of the following, please create a phabricator task and link to it here. -- ☠ MarkAHershberger ☢ (talk) ☣ 16:02, 30 July 2016 (UTC)


 * Extension:AbuseFilter
 * Extension:DynamicPageList_(Wikimedia)
 * Extension:DynamicPageList_(third-party)

Other issues
This extension currently confuses the display of accesses for pages with the same name across namespaces. See for further information.

Backward compatibility
Version 0.3.4 is backward compatibility to MediaWiki 1.25. See [external_links_not_allowed://github.com/WikiMANNia/mediawiki-extensions-HitCounters/releases here].