Extension:GlobalUserGroups (Wikiunity)

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
GlobalUserGroups Wikiunity release

Release status: stable

Implementation Special page
Description Allows the use of global user groups
Author(s) Tim 'SVG' Weyer, Lucas 'TOR' Garczewski und Maciej Błaszkowski (Marooned)
Last version 1.0
MediaWiki  ? – 1.17+
License GNU General Public License 2.0 or later
Download GIT
Example http://www.wikiunity.com/
Added rights

userrights-global

Check usage (experimental)

This extension is written for Wikiunity, and only works on Wikiunity. Please use the general GlobalUserGroups extension or take our code changes to your MediaWiki.

This extension provides a global user rights (management) system. It loads the memberships from a global table, shows the global groups like the local groups on Special:ListUsers, loads the checkbox(es) on Special:UserRights but disallows changing global rights on every wiki, shows the global rights in the user rights log and provides a special page on a central wiki which allows changing global rights.
You've to apply our code changes to your MediaWiki installation. Otherwise you should use the default GlobalUserGroups extension.

[edit] Configuration

require_once ( "$IP/extensions/wikiunity/GlobalUserGroups_(Wikiunity)/GlobalUserGroups.php" );
 
// database name of the central wiki where global group memberships can be edited over Special:GlobalUserRights
$wgCentralWikiDB = "central";
 
// groups, which are not shown in the local user rights log
$wgGlobalUserGroupsImplicits[] = '*'; // local group
$wgGlobalUserGroupsImplicits[] = 'user'; // local group
$wgGlobalUserGroupsImplicits[] = 'autoconfirmed'; // local group
$wgGlobalUserGroupsImplicits[] = 'emailconfirmed'; // local group
$wgGlobalUserGroupsImplicits[] = 'checkuser-global'; // global group
 
// global user groups
$wgGlobalUserGroups[] = 'bot-global';
$wgGlobalUserGroups[] = 'checkuser-global';
$wgGlobalUserGroups[] = 'staff';
$wgGlobalUserGroups[] = 'sysadmin-global';
 
// allow staff members to edit global user rights
$wgGroupPermissions['staff']['userrights-global']            = true;

[edit] Contact

User talk:SVG
[email protected]

Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox