Extension:Sudo
<translate> This extension is currently not actively maintained!</translate> <translate> Although it may still work, any bug reports or feature requests will more than likely be ignored.</translate> <translate> If you are interested in taking on the task of developing and maintaining this extension, [[<tvar name=request>Special:MyLanguage/Gerrit/Privilege policy#Requesting Gerrit privileges</tvar>|you can request repository ownership]].</translate> <translate> As a courtesy, you may want to contact the author.</translate> <translate> You should also remove this template and list yourself as maintaining the extension in the page's <tvar name=extension>{{Extension }}</tvar> infobox.</translate> |
Sudo Release status: unmaintained |
|
---|---|
Implementation | User identity |
Description | Gives the ability for Sudoers on the wiki to login to other users' accounts. |
Author(s) | Daniel Friesen (Dantmantalk) |
Latest version | 0.6.0 (2018-06-29) |
MediaWiki | 1.29+ |
Database changes | No |
License | GNU General Public License 2.0 or later |
Download | |
|
|
Quarterly downloads | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Public wikis using | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Translate the Sudo extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
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. It is not longer possible to change the email address of an account without knowing the password with the help of this extension.
Installation
- <translate> [[<tvar name=2>Special:ExtensionDistributor/Sudo</tvar>|Download]] and move the extracted <tvar name=name>
Sudo
</tvar> folder to your <tvar name=ext>extensions/
</tvar> directory.</translate>
<translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Sudo - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'Sudo' );
- Configure user group and user right at your convenience.
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
Configuration
The user right "sudo" will have to be set for an existing user group, e.g. "bureaucrat" or preferably for a new user group:
$wgGroupPermissions['bureaucrat']['sudo'] = true;
$wgGroupPermissions['sudo']['sudo'] = true;
Known issues
See phab:maniphest/query/Uaw4sPCoSHql/#R.
File:Wiki-Tools.svg | <translate> This extension was migrated from Daniel Friesen's Wiki-Tools.com and checked into Wikimedia's software repository.</translate> |
- Pages with script errors
- Pages with broken file links
- Unmaintained extensions
- Extensions without an image
- User identity extensions
- Extensions without a compatibility policy
- Extensions with manual MediaWiki version
- GPL licensed extensions
- Extensions in Wikimedia version control
- UserLogoutComplete extensions
- All extensions
- Extensions migrated from Wiki-Tools