Extension:LookupUser

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

Release status:Extension status stable

LookupUser.png
ImplementationTemplate:Extension#type Special page
DescriptionTemplate:Extension#description Retrieve information about a user such as email address and ID
Author(s)Template:Extension#username Tim Starlingtalk
Latest versionTemplate:Extension#version 1.3.0 (2014-04-01)
MediaWikiTemplate:Extension#mediawiki 1.13+
Database changesTemplate:Extension#needs-updatephp No
LicenseTemplate:Extension#license Any OSI approved license
Download
Added rightsTemplate:Extension#rights

lookupuser

Hooks usedTemplate:Extension#hook
ContributionsToolLinksManual:Hooks/ContributionsToolLinks

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

Check usage and version matrix.

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).

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:
    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.

Translate[edit]

LookupUser is translatable through translatewiki.net.

See also[edit]