Extension:LastUserLogin

MediaWiki extensions manual
OOjs UI icon advanced.svg
LastUserLogin
Release status: beta
LastUserLogin.png
Implementation Special page , User activity
Description Displays the last time a user logged in
Author(s) Justin G. Cramer, Danila Ulyanov, Thomas Klein
Maintainer(s) Sophivorus
Latest version 1.6 (2020-05-12)
MediaWiki 1.29+
PHP 5.5+
License GNU General Public License 3.0 or later
Download
lastlogin
Translate the LastUserLogin extension if it is available at translatewiki.net
Check usage and version matrix.

The LastUserLogin extension introduces a special page that displays a simple table of users and the last time they logged in. This can be useful if your wiki is used as a knowledge base for outside personnel. If you have a requirement that they check the wiki prior to placing a call or email, LastUserLogin can be used to verify that this policy is being enforced.

InstallationEdit

  • Download and place the file(s) in a directory called LastUserLogin in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'LastUserLogin' );
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

UsageEdit

Once installed, visit Special:LastUserLogin to see the times at which each user last logged in. This extension introduces the 'lastlogin' right which is needed to view the special page, and by default is only granted to admins (sysops).

See alsoEdit