Jump to content

Extension:Sudo: Difference between revisions

From mediawiki.org
Content deleted Content added
upd
m This extension appears to be in SVN, not Git.
Line 12: Line 12:
|update = 2010-12-07
|update = 2010-12-07
|license = GPL2+
|license = GPL2+
|download = {{WikimediaDownload|Sudo}}
|download = {{WikimediaDownload|Sudo}}
}}
}}



Revision as of 22:51, 13 August 2012

MediaWiki extensions manual
Sudo
Release status: beta
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.2.1 (2010-12-07)
MediaWiki >= 1.35.0
License GPL2
Download Template:WikimediaDownload/svn
Sudo
Quarterly downloads 1 (Ranked 133rd)
Translate the Sudo extension if it is available at translatewiki.net

Sudo gives 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

  1. Download a snapshot and extract it to your extensions directory. Choose the version that matches your version of MediaWiki.
  2. Add
    require_once( "$IP/extensions/Sudo/Sudo.php" );
    
    to the bottom of LocalSettings.php.
  3. Installation can now be verified through Special:Version of your wiki.

Configuration

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;