Reference:HitCounters: Difference between revisions

hw>Mlink-rodrigue
No edit summary
 
m (Text replacement - "BlueSpice Cloud" to "BlueSpice cloud")
 
(5 intermediate revisions by 2 users not shown)
Line 4: Line 4:
|developer=Mark A. Hershberger
|developer=Mark A. Hershberger
|type=MediaWiki
|type=MediaWiki
|edition=BlueSpice free, BlueSpice pro, BlueSpice Farm, BlueSpice Cloud
|edition=BlueSpice pro, BlueSpice free, BlueSpice farm, BlueSpice cloud
|active=Yes
|compatible=MediaWiki
|compatible=MediaWiki
|category=Reporting
|category=Reporting
|license=GPL v3+
|license=GPL v3+
|docu=https://www.mediawiki.org/wiki/Extension:HitCounters
|docu=https://www.mediawiki.org/wiki/Extension:HitCounters
}}
|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].
'''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.
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.
Line 17: Line 15:
The core differences that wiki administrators need to know are:
The core differences that wiki administrators need to know are:


* The hit counts are stored in cache.
*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.)
*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.
*If you refresh your browser on a wiki page, that hit is ignored.
 
}}
 
{{wcagCheck
<br />
|wcagStatus=2-testing complete
|wcagCheckedfor=Web
|wcagTestdate=2022-08-08
|wcagLevel=AA
|wcagSupport=supports
|wcagComments=provides the number of page views. Available as sematic property of a page.
|extensionType=core
|extensionFocus=admin
}}

Latest revision as of 10:49, 7 June 2024

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
Checked for: Web
Last test date: 2022-08-08
WCAG level: AA
WCAG support: supports
Comments:

provides the number of page views. Available as sematic property of a page.

Extension type: core
Extension focus: admin