Extension:CentralAuth

CentralAuth extension allows global/shared accounts between projects. This extension adds six new special pages &mdash; Special:AutoLogin (unlisted special page), Special:CentralAuth, Special:GlobalGroupMembership, Special:GlobalGroupPermissions, Special:GlobalUsers and Special:MergeAccount.

CentralAuth was designed specifically for Wikimedia projects. It is much easier to set up global accounts using $wgSharedDB. 

Installation

 * 1) Download the latest snapshot and extract it to your extensions directory.
 * 2) Run central-auth.sql
 * 3) Add require_once ("$IP/extensions/CentralAuth/CentralAuth.php"); to LocalSettings.php
 * 4) The extension should be now active.

Download

 * For 1.13: /trunk/extensions/CentralAuth/ (browse)
 * For 1.12: /branches/REL1_12/extensions/CentralAuth/ (browse)
 * For 1.11: /branches/REL1_11/extensions/CentralAuth/ (browse)

Setup
First, you'll need to configure your wiki family using $wgConf, or CentralAuth can't be used for your wiki family. After installing the extension, you have to gather some data in CentralAuth database. In order to retroactively set up global accounts, you will have to run the migratePass0.php and migratePass1.php scripts. The first one stores information about your wikis in the CentralAuth database, while the second one uses automatic migration heuristics to generate global accounts. A user can merge their accounts manually via Special:MergeAccount. Dry runs can be used for testing purposes.

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.

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.