Extension:StalkerLog

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
StalkerLog
Release status: stable
Extension StalkerLog screenshot.png
Implementation User activity
Description Adds a log entry on each login/logout.
Author(s) Chad Horohoe (^demontalk)
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
Translate the StalkerLog extension if it is available at translatewiki.net
Check usage and version matrix.

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

Installation[edit]

  • Download and place the file(s) in a directory called StalkerLog in your extensions/ folder.

Configuration[edit]

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;