Release status: stable
|Description||Gives the ability for Sudoers on the wiki to login to other users' accounts.|
|Author(s)||Daniel Friesen (Dantmantalk)|
|Latest version||0.3.0 (2014-04-02)|
Translate the Sudo extension if it is available at translatewiki.net
|Check usage and version matrix; code metrics|
The Sudo extension the ability for Sudoers on the wiki to login to other users' accounts, using "Special:Sudo". This may be used for helping users set their own preferences, testing to see if something in the UI is affected by their login, or changing things under their name.
Sudo does log use of sudo to transfer to another user's accounts, however beyond that there is no tracking of what the sudoed user does. Be careful who you give sudo to as it can be abused in the worst of ways.
Installation[edit | edit source]
- Download and extract the file(s) in a directory called
extensions/folder. If you're a developer and this extension is in a Git repository, then instead you should clone the repository using:
git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Sudo.git
- Add the following code at the bottom of your LocalSettings.php:
- Done! Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.
Configuration[edit | edit source]
The user right "sudo" will have to be set for an existing user group, e.g. "sysop" or preferably for a new user group:
$wgGroupPermissions['sudo']['sudo'] = true; $wgGroupPermissions['sysop']['sudo'] = true;
|This extension was migrated from Daniel Friesen's Wiki-Tools.com and checked into Wikimedia's svn.
The original archived extension page can be viewed at http://wiki-tools.com/wiki/Sudo and previous versions and commits to version control can be checked out from the old svn repo there.