MediaWiki extensions manual
StalkerLog
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
Download
Added rights
stalkerlog-view-log
Hooks used
  • UserLoginComplete
  • UserLogoutComplete
Quarterly downloads 4 (Ranked 166th)
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.

Installation

  • Download and place the file(s) in a directory called StalkerLog in your extensions/ folder.
  • 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.
  • Yes Done โ€“ Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration

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;
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.