Extension:RuntimeVariables

What can this extension do?
Allow setting, retrieving and checking set status of variables settable in wikitext.

Download instructions
Please 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 the end of LocalSettings.php:

Configuration parameters

 * $wgRuntimeVariables - defaults to array. Can be set directly in LocalSettings.php to set default variables. NOTE: Set AFTER including the script or else whatever you add will be erased.

Bugs
This extension has not been extensively tested for bugs which is why it has beta status. If any bugs are found, please send me a message on my Wikipedia talk page and mention this extension.