Extension:UserPageViewTracker

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
Crystal Clear action run.svg
UserPageViewTracker
Release status: beta
UserPageViewTracker.jpg
Implementation Special page
Description Tracks user page hits from Special:UserPageViewTracker
Author(s) Kimon Andreou, Felipe Schenone
Latest version 0.5 (2018-02-11)
MediaWiki 1.25+
PHP 5.3+
Database changes Yes
License GNU General Public License 3.0
Download
Translate the UserPageViewTracker extension if it is available at translatewiki.net
Check usage and version matrix.

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[edit]

  • Download and place the file(s) in a directory called UserPageViewTracker in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'UserPageViewTracker' );
    
  • Run the update script which will automatically create the necessary database tables that this extension needs.
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

See also[edit]