You are viewing an old version of this page. Return to the latest version.
Difference between revisions of "Reference:HitCounters"
(Tag: 2017 source edit) |
Extension: HitCounters
Overview | |||
---|---|---|---|
Description: | Provide Counts the page views functionalityhits of a page/article. | ||
State: | stable | Dependency: | MediaWiki |
Developer: | Mark A. Hershberger | License: | - GPL v3+ |
Type: | MediaWiki | Category: | - Reporting |
Edition: | BlueSpice free, BlueSpice pro, BlueSpice Farm, BlueSpice Cloud | ||
Features[edit source]
The HitCounters extension provides the page views functionality that was removed in MediaWiki 1.25.
Differences from core MediaWiki implementation[<a href="https://www.mediawiki.org/w/index.php?title=Extension:HitCounters&action=edit§ion=2" title="Edit section: Differences from core MediaWiki implementation">edit][edit | edit source]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.
{{BSExtensionInfobox |desc=ProvideCounts the page views functionalityhits of a page/article. |status=stable |developer=Mark A. Hershberger |type=MediaWiki |edition=BlueSpice free |active=No }} The , BlueSpice pro, BlueSpice Farm, BlueSpice Cloud |active=Yes |compatible=MediaWiki |category=Reporting |license=GPL v3+ |docu=https://www.mediawiki.org/wiki/Extension:HitCounters }} '''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]. ==<span id="Differences_from_core_MediaWiki_implementation" class="mw-headline">Differences from core MediaWiki implementation</span><span class="mw-editsection"><span class="mw-editsection-bracket">[<a href="https://www.mediawiki.org/w/index.php?title=Extension:HitCounters&action=edit§ion=2" title="Edit section: Differences from core MediaWiki implementation">edit]</span></span>== 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. '''Source: '''[https://www.mediawiki.org/wiki/Extension:HitCounters mediawiki] [[Category:Extension]]<br />
(21 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{BSExtensionInfobox | {{BSExtensionInfobox | ||
− | |desc= | + | |desc=Counts the hits of a page/article. |
|status=stable | |status=stable | ||
|developer=Mark A. Hershberger | |developer=Mark A. Hershberger | ||
|type=MediaWiki | |type=MediaWiki | ||
− | |edition=BlueSpice free | + | |edition=BlueSpice free, BlueSpice pro, BlueSpice Farm, BlueSpice Cloud |
− | |active= | + | |active=Yes |
+ | |compatible=MediaWiki | ||
+ | |category=Reporting | ||
+ | |license=GPL v3+ | ||
+ | |docu=https://www.mediawiki.org/wiki/Extension:HitCounters | ||
}} | }} | ||
− | + | '''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 20: | Line 22: | ||
− | + | <br /> | |
− |