Search results
Appearance
There is a page named "LocalSettings.php" on MediaWiki. See also the other search results found.
- The LocalSettings.php file provides basic configuration settings of a MediaWiki installation. You should take your time to review the settings in this...32 KB (2,977 words) - 12:15, 3 March 2026
- per-wiki settings. If one wishes to use it, the following code should be used in LocalSettings.php: require_once "$IP/InitialiseSettings.php"; Manual:$wgConf...1 KB (65 words) - 12:46, 15 November 2025
- configuration settings based on the MainConfigSchema.php file. Never edit MainConfigSchema.php; add appropriate lines to LocalSettings.php instead and amend...53 KB (10,006 words) - 10:17, 5 February 2026
- MediaWiki settings, such as database details. It does this by using a shim at the top of LocalSettings.php. The most basic LocalSettings.php file for you...2 KB (209 words) - 08:51, 25 April 2022
- The LocalSettings.php file provides basic configuration settings of a MediaWiki installation. You should take your time to review the settings in this...24 KB (2,977 words) - 12:16, 3 March 2026
- all of the affected wikis' LocalSettings.php files, add: require_once("<path to your CommonSettings.php>/CommonSettings.php"); $wgConf may prove to be...2 KB (115 words) - 12:18, 9 February 2026
- (file_exists("$confdir/$dir/LocalSettings.php")) { $done = true; $conf = "$confdir/$dir"; require_once( $conf . '/LocalSettings.php' ); } $j--; } $i--; } if...2 KB (308 words) - 15:23, 7 June 2025
- looking to enable/disable upload settings see LocalSettings.php Some PHP installations have 2 php.ini files, one for the php_sapi module that handles the...2 KB (185 words) - 13:28, 29 December 2025
- LocalSettings.php . As of MediaWiki 1.38, including DefaultSettings.php in your LocalSettings.php will result in the error described at T311966: PHP Fatal...2 KB (222 words) - 11:48, 27 March 2025
- restricting access. For information on how to edit LocalSettings.php, see Manual:LocalSettings.php . For the common use case of "a private wiki, for oneself...25 KB (2,165 words) - 03:02, 8 February 2026
- Here are some snippets you can add to LocalSettings.php to accomplish various tasks. A "snippet" is usually a short hook function, typically less than...2 KB (233 words) - 09:15, 17 January 2024
- If includes/PlatformSettings.php exists, the installer will automatically include it as part of the generated LocalSettings.php. The main advantage of...1 KB (184 words) - 09:17, 5 January 2025
- Setting this to true will invalidate all cached pages whenever LocalSettings.php is changed. This is useful so that if you install a new extension, any...1 KB (95 words) - 00:45, 25 August 2024
- Manual:$IP (category MediaWiki configuration settings)Manually setting this variable to the absolute path to MediaWiki on disk from LocalSettings.php was necessary in older versions of MediaWiki. However,...3 KB (254 words) - 11:56, 3 October 2025
- LocalSettings.php by default contains MySQL database user IDs and passwords. Keeping these credentials in LocalSettings.php is risky, because under rare...6 KB (585 words) - 04:14, 22 January 2026
- The Settings extension executes on a separate process and provides a base registry object with parameters that you can use in you LocalSettings.php. require_once...1 KB (52 words) - 02:36, 20 July 2020
- to LocalSettings.php instead and amend them as appropriate. This index is in alphabetical order (ignoring the $wg prefix). Note that the only setting without...44 KB (9,846 words) - 02:32, 12 February 2026
- per-wiki settings. If one wishes to use it, the following code should be used in LocalSettings.php: require_once "$IP/InitialiseSettings.php"; Manual:$wgConf...804 bytes (65 words) - 10:42, 24 July 2022
- Manual:How to debug (section PHP errors)following are all false by default. Enable them by setting them to true in your LocalSettings.php : $wgShowExceptionDetails – Enable more details (like...19 KB (1,642 words) - 11:26, 22 January 2026
- issue where making a setting false in LocalSettings.php for an extension or skin will not override the default value for that setting (T100767). This was...38 KB (5,099 words) - 07:25, 10 May 2025