Extension:EditUser
From MediaWiki.org
|
Release status: stable |
|||
|---|---|---|---|
| Implementation | Special page, User identity | ||
| Description | Allows privileged users to edit other users' preferences | ||
| Author(s) | Ryan Schmidt (SkizzerzTalk) | ||
| Last Version | 1.5.2 | ||
| MediaWiki | 1.11+ | ||
| License | GPL | ||
| Download | Download snapshot |
||
|
|||
|
|||
|
|||
|
check usage (experimental) |
|||
Contents |
[edit] Usage
This extension displays a preferences form (like the one in Special:Preferences) that allows editing the preferences of other users. You can call the page via Special:EditUser/username to directly edit a user, or Special:EditUser to display a search form. Users with the edituser-exempt permission cannot be edited via this form.
Warning: Only grant access to this extension to users you trust. Accounts can literally be taken over from use of this extension.
[edit] Default permissions
$wgGroupPermissions['bureaucrat']['edituser'] = true; $wgGroupPermissions['sysop']['edituser-exempt'] = true;
[edit] Debug mode
Debug mode is generally not useful unless testing or in an attempt to discover a problem. When enabled, it uses the SavePreferences hook to record the current and new state of the user's preferences into a debug file (by default $IP/extensions/EditUser/debug.log).
To enable debug mode, add the following to LocalSettings.php after the require_once call to the EditUser extension:
$wgEditUserDebug = true; $wgEditUserDebugLog = "$IP/extensions/EditUser/debug.log"; #optional, defaults to $IP/extensions/debug.log
Then, create the file you specified in $wgEditUserDebugLog. If you do not create the file, debug mode cannot create it for you and as such will not work.
[edit] Download instructions
Download the latest snapshot and extract it to your extensions directory.
[edit] Installation
To install this extension, add the following to LocalSettings.php:
require_once("$IP/extensions/EditUser/EditUser.php");
[edit] Todo
- Add ability to restrict what can be changed