From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual
Crystal Clear action run.png

Release status: stable

Implementation Special page
Description Retrieve information about a user such as email address and ID
Author(s) Tim Starlingtalk
Latest version 1.3.0 (April 1, 2014; 2 years ago (2014-04-01))
MediaWiki 1.13+
Database changes No
License Any OSI approved license
Added rights


Hooks used

Translate the LookupUser extension if it is available at translatewiki.net

Check usage and version matrix; code metrics

LookupUser (Lookup User) is an extension 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 his or her 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).


  • 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:
require_once "$IP/extensions/LookupUser/LookupUser.php";
// 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;
  • YesY Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

View the page[edit]

The extension is accessed on the Special:LookupUser page.


LookupUser is translatable through translatewiki.net.

See also[edit]