Extension:HitCounters/de

The HitCounters extension displays the view count in the page footer and the most viewed pages on a special page called PopularPages. The extension provides page views statistics that were.

Nutzen
Diese Erweiterung gibt den Redakteuren Feedback in Form von Publikumsmessungen. Knowing the rough size of one's audience as an editor allows editors to identify and improve popular articles. HitCounters' PopularPages also allows editors to focus on improving those articles with the highest traffic, and helps readers discover a project's most curated content.

Die HitCounters-Erweiterung ermöglicht es, den wikiFactor zu bestimmen, der ein grobes Maß für die Popularität einer Wiki-Website ist.

Die HitCounters-Erweiterung greift minimal auf die Datensicherheit und den Schutz der Privatsphäre ein. The extension handles metrics on the server side so aggregated data stays within the site's security boundary. The extension does not inject JavaScript to be executed by the client, and does not ask a client to download additional un-audited code from a third party, like GoogleAnalyticsMetrics.

Die Erweiterung erstellt keine Nachverfolgung von Nutzer, die eine Seite besuchen. As such, there's no need for special handling of Do Not Track browser requests or Global Privacy Control settings. The extension also does not use third party services, like GoogleAnalyticsMetrics.

Die Erweiterung hat keine Abhängigkeiten, die Konflikte verursachen können. Other extensions, like GoogleAnalyticsMetrics, can cause problems during a Composer update. Also see Phabricator P6481.



Unterschiede von der Kern-MediaWiki-Implementierung
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.



Was als "View" zählt
According to tests conducted by several MediaWiki operators, a view is counted if a page is accessed normally, as well as  and when accessing a page revision.

A view is not counted with the other actions, such as,  , and.

Installation
Composer kann zum Installieren diese Erweiterung verwendet werden, wobei diese zwei Befehle im MediaWiki-Ordner einzugeben sind:

$ COMPOSER=composer.local.json composer require --no-update mediawiki/hit-counters $ composer update

Migration from before MediaWiki 1.25

Konfiguration

 * When set to, it disables the notice in the pages footer saying "" as well as the special page  . This configuration parameter was removed with MediaWiki 1.35.0.
 * Sets how often page counters should be updated. Default value is.
 * Sets how often page counters should be updated. Default value is.
 * Sets how often page counters should be updated. Default value is.

Fork
There is a fork of this extension with extended backward compatibility available:
 * Version 0.4.0 of this extension's fork is backward compatible to MediaWiki 1.25+.
 * Version 0.3.2 of this extension's fork is backward compatible to MediaWiki 1.25+.