MediaWiki extensions manual
OOjs UI icon advanced-invert.svg
Release status: unmaintained
Implementation Special page
Description Implements a special page that takes the user to shell and back
Author(s) Nathan Larson (Leucostictetalk)
Latest version 1.0.1 (2016-10-25)
MediaWiki 1.23+
PHP 5.3
Database changes No
License GNU General Public License 3.0 or later
  • gotoshell
Translate the GoToShell extension if it is available at translatewiki.net

Check usage and version matrix.

The GoToShell extension implements a special page that takes the user to shell and back. This extension is free software than can be modified and distributed under the terms of the GPL and/or the DWTSYWWI (Do Whatever The Shell You Want With It) license. By default, shell is reserved for bureaucrats only, but you can change $wgGroupPermissions so that other deserving users can go to shell too.

Installation and configurationEdit


  • Download and place the file(s) in a directory called GoToShell in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/GoToShell/GoToShell.php";
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.



Set this to whatever you want it to do; e.g. "ls -l", "./maintenance/php update.php --quick ", "rm -rf /incriminating_data", etc.

See alsoEdit