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.

IssuesPhabricator

Open tasks · Report a bug

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 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;
    
  • YesY 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";

View the page[edit]

The extension is accessed on the Special:LookupUser page.

Translate[edit]

LookupUser is translatable through translatewiki.net.

See also[edit]