Index: trunk/extensions/Renameuser/SpecialRenameuser.php |
— | — | @@ -11,6 +11,9 @@ |
12 | 12 | * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later |
13 | 13 | */ |
14 | 14 | |
| 15 | +$wgAvailableRights[] = 'renameuser'; |
| 16 | +$wgGroupPermissions['bureaucrat']['renameuser'] = true; |
| 17 | + |
15 | 18 | $wgExtensionFunctions[] = 'wfSpecialRenameuser'; |
16 | 19 | $wgExtensionCredits['specialpage'][] = array( |
17 | 20 | 'name' => 'Renameuser', |
— | — | @@ -50,7 +53,7 @@ |
51 | 54 | $wgHooks['LogPageLogName'][] = 'wfSpecialRenameuserAddLogName'; |
52 | 55 | $wgHooks['LogPageLogHeader'][] = 'wfSpecialRenameuserAddLogHeader'; |
53 | 56 | |
54 | | - require_once( "$IP/includes/SpecialPage.php" ); |
| 57 | + require_once "$IP/includes/SpecialPage.php"; |
55 | 58 | class Renameuser extends SpecialPage { |
56 | 59 | function Renameuser() { |
57 | 60 | SpecialPage::SpecialPage('Renameuser', 'renameuser'); |