Index: trunk/extensions/ReplaceText/ReplaceText.php |
— | — | @@ -33,10 +33,13 @@ |
34 | 34 | $wgExtensionMessagesFiles['ReplaceText'] = $rtgIP . 'ReplaceText.i18n.php'; |
35 | 35 | $wgExtensionAliasesFiles['ReplaceText'] = $rtgIP . 'ReplaceText.alias.php'; |
36 | 36 | $wgJobClasses['replaceText'] = 'ReplaceTextJob'; |
| 37 | + |
| 38 | +// This extension uses its own permission type, 'replacetext' |
37 | 39 | $wgAvailableRights[] = 'replacetext'; |
| 40 | +$wgGroupPermissions['bureaucrat']['replacetext'] = true; |
| 41 | + |
38 | 42 | $wgHooks['AdminLinks'][] = 'rtAddToAdminLinks'; |
39 | 43 | |
40 | | -// This extension uses its own permission type, 'replacetext' |
41 | 44 | $wgSpecialPages['ReplaceText'] = 'ReplaceText'; |
42 | 45 | $wgSpecialPageGroups['ReplaceText'] = 'wiki'; |
43 | 46 | $wgAutoloadClasses['ReplaceText'] = $rtgIP . 'SpecialReplaceText.php'; |