Extension:LookupUser

From MediaWiki.org
Jump to navigation Jump to search
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
OOjs UI icon advanced.svg
LookupUser
Release status: stable
LookupUser.png
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 (2017-07-14)
MediaWiki 1.25+
Database changes No
License GNU General Public License 2.0 or later
Download
Added rights
lookupuser
Hooks used
ContributionsToolLinks
Translate the LookupUser extension if it is available at translatewiki.net
Check usage and version matrix.
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.

To users running MediaWiki 1.24 or earlier:

The instructions above describe the new way of installing this extension using wfLoadExtension() If you need to install this extension on these earlier versions (MediaWiki 1.24 and earlier), instead of wfLoadExtension( 'LookupUser' );, you need to use:

require_once "$IP/extensions/LookupUser/LookupUser.php";

Usage[edit]

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