r92313 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92312‎ | r92313 | r92314 >
Date:21:46, 15 July 2011
Author:robin
Status:ok
Tags:
Comment:
Add user group configuration as on incubatorwiki, and add message for the user group
Modified paths:
  • /trunk/extensions/WikimediaIncubator/WikimediaIncubator.i18n.php (modified) (history)
  • /trunk/extensions/WikimediaIncubator/WikimediaIncubator.php (modified) (history)

Diff [purge]

Index: trunk/extensions/WikimediaIncubator/WikimediaIncubator.php
@@ -48,6 +48,16 @@
4949 'Incubator', 'Help', 'Users', 'Maintenance', 'Files',
5050 );
5151
 52+/* Test wiki admin user group */
 53+$wgGroupPermissions['test-sysop']['delete'] = true;
 54+$wgGroupPermissions['test-sysop']['undelete'] = true;
 55+$wgGroupPermissions['test-sysop']['deletedhistory'] = true;
 56+$wgGroupPermissions['test-sysop']['block'] = true;
 57+$wgGroupPermissions['test-sysop']['blockemail'] = true;
 58+$wgGroupPermissions['test-sysop']['rollback'] = true;
 59+$wgAddGroups['bureaucrat']['test-sysop'] = true;
 60+$wgRemoveGroups['bureaucrat']['test-sysop'] = true;
 61+
5262 $wgExtensionMessagesFiles['WikimediaIncubator'] = $dir . 'WikimediaIncubator.i18n.php';
5363
5464 /* Special:ViewUserLang */
Index: trunk/extensions/WikimediaIncubator/WikimediaIncubator.i18n.php
@@ -30,6 +30,10 @@
3131 'randombytest' => 'Random page by test wiki',
3232 'randombytest-nopages' => 'There are no pages in your test wiki, in the namespace: $1.',
3333 'wminc-recentchanges-all' => 'All recent changes',
 34+
 35+ 'group-test-sysop' => 'Test wiki administrators',
 36+ 'group-test-sysop-member' => 'test wiki administrator',
 37+ 'grouppage-test-sysop' => 'Project:Test wiki administrators',
3438 );
3539
3640 /** Message documentation (Message documentation)

Sign-offs

UserFlagDate
Nikerabbitinspected13:01, 20 July 2011

Status & tagging log