Reference:HitCounters: Difference between revisions

No edit summary
No edit summary
Tag: 2017 source edit
Line 9: Line 9:
|license=GPL v3+
|license=GPL v3+
|docu=https://www.mediawiki.org/wiki/Extension:HitCounters
|docu=https://www.mediawiki.org/wiki/Extension:HitCounters
|active=Yes
|features=
'''HitCounters''' extension provides the page views functionality that was [https://www.mediawiki.org/wiki/MediaWiki_1.25#Hit_counters_removed removed in MediaWiki 1.25].
 
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.
}}
}}
{{wcagCheck
{{wcagCheck

Revision as of 11:13, 8 August 2022

Extension: HitCounters

all extensions

Overview
Description: Counts the hits of a page/article.
State: stable Dependency: MediaWiki
Developer: Mark A. Hershberger License: GPL v3+
Type: MediaWiki Category: Reporting
Edition: BlueSpice pro, BlueSpice free, BlueSpice Farm, BlueSpice Cloud Version: 4.1+
For more info, visit Mediawiki.

Features

HitCounters extension provides the page views functionality that was removed in MediaWiki 1.25.

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.

Accessibility

Test status: 2-testing complete
Last test date: 2022-08-08


Extension type: backend

Discussions