Extension:Settings

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
Crystal Clear action run.svg
Settings
Release status: experimental
Implementation other (invalid type)
Description Settings is SMW+ deployment framework like configuration system based on XML file name
Author(s) Vitold Sedyshev (vit1251talk)
Latest version 0.1 (2013-03-08)
Database changes No
License GPL 3.0
Download
README
Parameters
$wgSettings
Translate the Settings extension if it is available at translatewiki.net
Check usage and version matrix.

The Settings extension executes on a separate process and provides a base registry object with parameters that you can use in you LocalSettings.php.

Usage[edit]

require_once "$IP/settings/Settings.php";

$wgLanguageContent = $wgSettings->get('wgLanguageContent');

Installation[edit]

  1. To install the settings extension, put the following line in LocalSettings.php
require_once "$IP/settings/Settings.php";