MediaWiki extensions manual
Release status: unmaintained
Implementation User activity
Description Adds a log entry on each login/logout.
Author(s) Chad Horohoe (😂talk)
Latest version 0.8.0 (2017-07-26)
MediaWiki 1.23+
PHP 5.3+
Database changes No
License GNU General Public License 2.0 or later
Quarterly downloads 0
Translate the StalkerLog extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

The StalkerLog extension adds a log type that keeps track of user logins/logouts.


  • Download and move the extracted StalkerLog folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/StalkerLog
  • Add the following code at the bottom of your LocalSettings.php file:
    require_once "$IP/extensions/StalkerLog/StalkerLog.php";
  • Configure the user right as required.
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.



By default the log is viewable to all, but can be restricted with the "stalkerlog-view-log" permission. If e.g. only admins should be able to see the log the following lines have to be added below the inclusion of this extension in the "LocalSettings.php" file:

$wgGroupPermissions['*']['stalkerlog-view-log'] = false;
$wgGroupPermissions['sysop']['stalkerlog-view-log'] = true;