Extension:LookupUser

From Linux Web Expert

File:OOjs UI icon notice-destructive.svg <translate> Warning:</translate> 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
File: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 (2018-07-14)
MediaWiki 1.25+
Database changes No
License GNU General Public License 2.0 or later
Download
lookupuser
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 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

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/LookupUser</tvar>|Download]] and move the extracted <tvar name=name>LookupUser</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/LookupUser
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    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;
    
  • 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>

Usage

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