LocalSettings File
A Guide to Using MediaWiki in a Hosted Environment
An instructional website by the developer of mh370wiki.net - a MediaWiki site about Malaysia Airlines Flight MH370.
LocalSettings.php
A file named LocalSettings.php is located in the /w directory of every MediaWiki installation.
This file contains the configuration settings for the MediaWiki installation. It is generated during an installation and when placed in the /w directory can be edited via cPanel --> File manager.
Variables
MediaWiki variables are configured by default in a file such as MainConfigSchema.php. These variables and their settings apply globally and the default settings should not be changed directly.
The LocalSettings.php file provides a way to configure the current installation and the values for each variable over-write the default values.
A full list of variables is in the Manual:Configuration settings, see link below.
Many of those variables are also the subject of articles on this website and are in a Category:Variables, as listed below:0
Articles which relate to MediaWiki Variables
Articles which relate to MediaWiki Variables are included in Category:Variables.
The CategoryTree Extension enables a listing of relevant sub-categories and pages:-
Notes
- Before making significant changes to the LocalSettings.php file, create a copy to keep as a backup.
- In addition to configuration for variables, the LocalSettings.php file is used to load the Skin, load the database, load Extensions, configure Namespaces, and has some Security settings.
Articles which relate to LocalSettings.php
Articles which relate to LocalSettings.php are included in Category:LocalSettings.
The CategoryTree Extension enables a listing of relevant sub-categories and pages:-
Links
- Manual:LocalSettings.php
- https://www.mediawiki.org/wiki/Manual:LocalSettings.php
- Manual:Configuration settings
- Manual:Configuration settings