Extension:Configurator

What can this extension do?
WARNING: This script is dangerous. It changes files on your server and has the potential to do all kinds of bad stuff. For advanced users only.

This extension reads the LocalSettings.php file and displays a form on a custom special page where the user can modify configuration variables that have previously been defined in the file. It only shows MediaWiki variables defined in LocalSettings.php that appear on their own line and have values that are a "string", int, bool, CONSTANT, or $variable. It excludes passwords. When the user submits the form, the extension backs up the current LocalSettings.php file and writes a new one.

It also has some support for extensions but the enabling/disabling stuff doesn't work yet.

Usage

 * 1) Log in as a user with the 'siteadmin' permission.
 * 2) Browse to Special Pages -> Configurator.
 * 3) Add/Modify values.
 * 4) Click Submit.

Download instructions
Cut and paste the code found below and place it in. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

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

You also have to make the files LocalSettings.php and LocalSettings.old.php writable by your web server.