Extension:MaintenanceShell
From MediaWiki.org
|
MaintenanceShell Release status: experimental |
|||
|---|---|---|---|
| Implementation | Special page | ||
| Description | Provides access to the maintenance scripts via a special page. | ||
| Author(s) | Andrew Fitzgerald Timo Tijhof |
||
| Last version | 0.4.0 (24 February 2013) | ||
| MediaWiki | 1.20 | ||
| License | GNU GPL | ||
| Download |
Commit log |
||
|
|||
|
|||
| Check usage and version matrix | |||
| Bugs: list open list all report | |||
| This extension mocks a command line environment, it does not actually execute scripts from the command line. There may be unexpected results due to this fact. Use at your own risk. If you can, you should execute maintenance scripts from the command line instead. Please report any unexpected results on talk page. |
MaintenanceShell provides access to the Maintenance scripts via a Special Page.
Contents |
Installation [edit]
- Download and extract the files in a directory called "
MaintenanceShell" in your extensions/ folder. - Add the following code to your LocalSettings.php (at the bottom)
require_once( "$IP/extensions/MaintenanceShell/MaintenanceShell.php" );
- Configure the user rights and grant yourself access to that group from a bureaucrat account.
Done – Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.
Configuration parameters [edit]
- $wgMaintenanceShellPath
- By default the extension lists maintenance scripts of MediaWiki core. Change this path to a different directory if you'd like to list different scripts instead (of a certain extension for example).
User rights [edit]
| Do not grant rights to the MaintenanceShell lightly. Maintenance scripts are powerful tools which can have a significant impact on your wiki. They are implemented as command line scripts instead of Special pages because they are irreversible and leave no trace. |
maintenanceshell- This right (for security reasons not assigned to any group by default) grants the right to use Special:MaintenanceShell.
// Grant access to Special:MaintenanceShell to the "developer" user group: $wgGroupPermissions['developer']['maintenanceshell'] = true; # Or // Create a new "maintenanceshell" user group for Special:MaintenanceShell: $wgGroupPermissions['maintenanceshell']['maintenanceshell'] = true;
Archive [edit]
This is the change log from before this extension was imported to Git (see commit log for changes made after the Git migration).
You can download these from the tags page.
- v0.3.1
- Fixed a small bug with the exit callback function introduced in 0.3.0.
- v0.3.0
- Fixed XSS and CSRF vulnerabilities.
- v0.2.4
- Fixed IE related bug.
- v0.2.3
- Moved all strings to the language file to allow for localization.
- Includes German language localization.
- Fixed some minor bugs.
- v0.2.2
- Included support for double quote marks ("") which allow for parameters with spaces as well as parameters with null values.
- Added a few links to relevant info on the maintenance shell page.
- v0.2.1
- Fixed some minor bugs.
- Added message notifying user when MaintenanceShell is incorrectly configured.
- v0.2.0
- Replaced buggy and annoying password system with Mediawiki based authentication.
- Changed look of interface slightly.
- v0.1.0
- First public release.