Index: trunk/extensions/Deployment/specials/SpecialUpdate.php |
— | — | @@ -42,7 +42,7 @@ |
43 | 43 | |
44 | 44 | // If the user is authorized, display the page, if not, show an error. |
45 | 45 | if ( $this->userCanExecute( $wgUser ) ) { |
46 | | - $wgOut->addWikiText( $this->getExtensionList() ); |
| 46 | + |
47 | 47 | } else { |
48 | 48 | $this->displayRestrictionError(); |
49 | 49 | } |
Index: trunk/extensions/Deployment/specials/SpecialInstall.php |
— | — | @@ -42,7 +42,7 @@ |
43 | 43 | |
44 | 44 | // If the user is authorized, display the page, if not, show an error. |
45 | 45 | if ( $this->userCanExecute( $wgUser ) ) { |
46 | | - $wgOut->addWikiText( $this->getExtensionList() ); |
| 46 | + |
47 | 47 | } else { |
48 | 48 | $this->displayRestrictionError(); |
49 | 49 | } |
Index: trunk/extensions/Deployment/specials/SpecialDashboard.php |
— | — | @@ -42,7 +42,7 @@ |
43 | 43 | |
44 | 44 | // If the user is authorized, display the page, if not, show an error. |
45 | 45 | if ( $this->userCanExecute( $wgUser ) ) { |
46 | | - $wgOut->addWikiText( $this->getExtensionList() ); |
| 46 | + |
47 | 47 | } else { |
48 | 48 | $this->displayRestrictionError(); |
49 | 49 | } |
Index: trunk/extensions/Deployment/Deployment.php |
— | — | @@ -42,6 +42,11 @@ |
43 | 43 | $wgSpecialPages['Update'] = 'SpecialUpdate'; |
44 | 44 | $wgSpecialPageGroups['Update'] = 'administration'; |
45 | 45 | |
| 46 | +/** |
| 47 | + * The siteadmin permission is needed to access the administration special pages. |
| 48 | + * By default only sysops have this permission. |
| 49 | + */ |
| 50 | +$wgGroupPermissions['sysop']['siteadmin'] = true; |
46 | 51 | |
47 | 52 | /** |
48 | 53 | * Initialization function for the Deployment extension. |