Extension:StalkerLog

From Linux Web Expert

Revision as of 17:14, 21 May 2020 by imported>Pppery
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

MediaWiki extensions manual
StalkerLog
Release status: unmaintained
File:Extension StalkerLog screenshot.png
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
stalkerlog-view-log
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 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

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/StalkerLog</tvar>|Download]] and move the extracted <tvar name=name>StalkerLog</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/StalkerLog
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    require_once "$IP/extensions/StalkerLog/StalkerLog.php";
    
  • Configure the user right as required.
  • 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>

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;