Extension:UserPageViewTracker

From Linux Web Expert

MediaWiki extensions manual
UserPageViewTracker
Release status: stable
File:UserPageViewTracker.jpg
Implementation Special page
Description Tracks user page hits from Special:UserPageViewTracker
Author(s) Kimon Andreou (Kimontalk)
Maintainer(s) Sophivorus
Latest version 0.8
MediaWiki >= 1.29.0
Database changes Yes
License GNU General Public License 3.0 only
Download
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Translate the UserPageViewTracker extension if it is available at translatewiki.net

The UserPageViewTracker extension allows users to track the usage of the wiki from Special:UserPageViewTracker. It will display the pages visited per users, number of visits, and date of the last visit.

Every time a user visits a page, a table in the database gets updated with the hit count for the user on that page. In other words, for every page-user combination, there is a hit count.

The special page displays this information and allows the filtering of users to either include only or exclude. A list of users can be provided by using the pipe symbol (|) as a delimiter.

Installation

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/UserPageViewTracker</tvar>|Download]] and move the extracted <tvar name=name>UserPageViewTracker</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/UserPageViewTracker
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'UserPageViewTracker' );
    
  • <translate> Run the [[<tvar name=update>Special:MyLanguage/Manual:Update.php</tvar>|update script]] which will automatically create the necessary database tables that this extension needs.</translate>
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

Bug reports and feature requests

Use the talk page. Do not use Wikimedia Phabricator.

See also