From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual
Crystal Clear action run.png

Release status: experimental

Implementation Special page
Description Provides access to the maintenance scripts via a special page.
Author(s) Andrew Fitzgerald
Timo Tijhof
Latest version 0.5.0 (2014-04-01)
MediaWiki 1.21+
License GNU General Public License


Added rights


Hooks used

Translate the MaintenanceShell extension if it is available at translatewiki.net

Check usage and version matrix; code metrics


Open tasks · Report a bug

The MaintenanceShell extension provides access to the maintenance scripts via a Special Page.

Installation[edit | edit source]

  • Download and place the file(s) in a directory called MaintenanceShell in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
require_once "$IP/extensions/MaintenanceShell/MaintenanceShell.php";
  • Configure the user rights and grant yourself access to that group from a bureaucrat account.
  • YesY Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration[edit | edit source]

Parameters[edit | edit source]

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 | edit source]

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;

Usage[edit | edit source]

Go to page Special:MaintenanceShell

Change log[edit | edit source]

See the page containing the change log.

See also[edit | edit source]

  • Extension:GoToShell — a much simpler shell extension that only launches one command specified in a configuration setting