Extension:CentralAuth

From MediaWiki.org

Jump to: navigation, search
Manual on MediaWiki Extensions
List of MediaWiki Extensions
CentralAuth

Release status: experimental

Implementation User identity, Database, Special page
Description Allows to merge accounts into global accounts
Author(s) Brion Vibber
MediaWiki 1.11+
Download SVN (browse)
Parameters $wgCentralAuthDatabase
$wgCentralAuthAutoNew
$wgCentralAuthAutoMigrate
$wgCentralAuthStrict
$wgCentralAuthDryRun
$wgCentralAuthCookies
$wgCentralAuthCookieDomains
$wgCentralAuthCookiePrefix
$wgCentralAuthAutoLoginWikis
Added rights centralauth-admin, centralauth-merge

CentralAuth extension allows global/shared accounts between projects. This extension adds four new special pages — Special:AutoLogin (unlisted special page), Special:CentralAuth, Special:GlobalUsers and Special:MergeAccount.


Contents

[edit] Installation

  1. Download the files from SVN and place them to extensions/CentralAuth
  2. Run central-auth.sql
  3. Add require_once ("$IP/extensions/CentralAuth/CentralAuth.php"); to LocalSettings.php
  4. The extension should be now active.

[edit] Setup

In order to retroactively set up global accounts, you will have to run the migratepass0.php and migratepass1.php scripts. Automatic migration heuristics are used. A user can merge their accounts manually via Special:MergeAccount. Dry runs can be used for testing purposes.

[edit] Use

Allows for a single-user login (SUL) system in place using MediaWiki's AuthPlugin system. User creation and login is done globally using one central user table across all wikis. Note that local user accounts are automatically created on account creation/login however.

[edit] Licensing and downloads

The extension is available under the GNU General Public License 2.0 or later, and can be downloaded from Subversion, or accessed via the web-based viewer.

The software is provided as-is. Updates will be made according to the needs of Wikimedia wikis; or where critical vulnerabilities are discovered.

[edit] See also

Personal tools