Extension:MaintenanceShell

MaintenanceShell provides access to the Maintenance scripts via a Special Page.

''Maintenance scripts are powerful tools which can have a significant impact on your wiki. Many of them require users to have access to the file system. Do not grant rights nor give out the password to the MaintenanceShell lightly.''

Usage

 * 1) Chose the script from the list.
 * 2) Fill in the command line settings as if you were typing the commands via a shell terminal.
 * 3) Supply the MaintenanceShell password
 * 4) Submit the form

Downloads

 * MaintenanceShell 0.1.0 - 16:11, 29 May 2009 (UTC)

Installation
To install this extension, add the following to LocalSettings.php:

MaintenanceShell requires you place the files in this directory and will not work if they are placed elsewhere.

User rights
MaintenanceShell adds a new user right called maintenanceshell, which a user must be granted before they can access the MaintenanceShell page. You may add the right to an existing group, or assign it to a new group and add users to that group. Place the following code in Localsettings.php:

Existing group: $wgGroupPermissions['sysop']['maintenanceshell'] = true;

New user group: $wgGroupPermissions['maintenance_user']['maintenanceshell'] = true;

Setting up the password
The first time you visit the Special:MaintenanceShell page, you will be asked to set the password for the MaintenanceShell. This must be done because the MaintenanceShell works outside of the normal wiki user access system. It is possible for a determined user to access parts of the MaintenanceShell without being logged into the wiki, so one should take care to chose a secure password.

You may change the password by leaving the script and command line fields blank and only filling in the current password. A link will be provided to edit the password.

You may reset the password by deleting the file /extension/MaintenanceShell/.password.