Extension:StalkerLog

From MediaWiki.org

Jump to: navigation, search

           

Manual on MediaWiki Extensions
List of MediaWiki Extensions
Crystal Clear action run.png
StalkerLog

Release status: stable

Implementation  User activity
Description Adds a log entry on each login/logout.
Author(s)  Chad Horohoe (^demonTalk)
Last Version  0.6
MediaWiki  1.13+ (login/logout), 1.11+ (login only)
License GPL v2.0
Download Download snapshot

Subversion [Help]
Browse source code

check usage (experimental)

[edit] Summary

Simple extension I wrote awhile back for my job, but we ended up not using it. Basically, it adds a log type that keeps track of user logins/logouts. By default viewable to all, but can be restricted with the 'stalkerlog-view-log' role, assignable via $wgGroupPermissions. Added it to MediaWiki svn for others to use if they'd like. Pretty simple and normal install:

  1. Download files to ~/extensions/StalkerLog/
  2. Add require_once( "extensions/StalkerLog/StalkerLog.php" ); to your LocalSettings file.
  3. Enjoy

[edit] Changelog

  • v0.6 - (r41476,r41477) Made it fail more gracefully on MW 1.11 and 1.12, which didn't have the $oldUser parameter yet for UserLogoutComplete. Thanks to maeck on IRC for pointing this out.
  • v0.5 - (r38240) Basic functionality, etc. Copied from my development copy at work.