Index: trunk/extensions/WikimediaIncubator/WikimediaIncubator.php |
— | — | @@ -48,6 +48,16 @@ |
49 | 49 | 'Incubator', 'Help', 'Users', 'Maintenance', 'Files', |
50 | 50 | ); |
51 | 51 | |
| 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 | + |
52 | 62 | $wgExtensionMessagesFiles['WikimediaIncubator'] = $dir . 'WikimediaIncubator.i18n.php'; |
53 | 63 | |
54 | 64 | /* Special:ViewUserLang */ |
Index: trunk/extensions/WikimediaIncubator/WikimediaIncubator.i18n.php |
— | — | @@ -30,6 +30,10 @@ |
31 | 31 | 'randombytest' => 'Random page by test wiki', |
32 | 32 | 'randombytest-nopages' => 'There are no pages in your test wiki, in the namespace: $1.', |
33 | 33 | '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', |
34 | 38 | ); |
35 | 39 | |
36 | 40 | /** Message documentation (Message documentation) |