Extension:LookupUser

From mediawiki.org
Warning Warning: This extension may pose serious security and/or privacy risks! Users with access to this extension can view the preferences of any other user, which is usually considered private information. While this extension does not give access to account passwords, it does give access to private data such as real names, email addresses, and other information that could be easily abused. Therefore, do NOT grant access to any user unless they are 100% trustworthy. It is recommended that access be restricted to bureaucrats or higher groups. We are not responsible for any security or privacy leaks.
MediaWiki extensions manual
LookupUser
Release status: stable
Implementation Special page
Description Allows to retrieve information about a user such as email address and ID
Author(s) Tim Starlingtalk
Latest version 1.5.2 (2018-07-14)
MediaWiki 1.25+
Database changes No
License GNU General Public License 2.0 or later
Download
lookupuser
Quarterly downloads 32 (Ranked 146th)
Translate the LookupUser extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

The LookupUser extension allows to retrieve information about a user such as email address, user ID and the user preferences, i.e. everything that the user has specified in their preferences.

This extension also displays the last time a user either made a login, or any edit, which it lists as the "User record last touched:" time and date element of its log. (This will be displayed as UTC even if you've set a custom time zone/the server's time zone is different.)

Installation[edit]

  • Download and place the file(s) in a directory called LookupUser in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php :
    wfLoadExtension( 'LookupUser' );
    // Who can use Special:LookupUser?
    // If you want that sysops can use it:
    #$wgGroupPermissions['*']['lookupuser'] = false;
    #$wgGroupPermissions['sysop']['lookupuser'] = true;
    
    // Or, do you want a new user group for this.
    // (users with the 'userrights' right can add users to this group only bureaucrats by default)
    $wgGroupPermissions['*']['lookupuser'] = false;
    $wgGroupPermissions['lookupuser']['lookupuser'] = true;
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Usage[edit]

The extension is accessed via the "Special:LookupUser" page.