Movatterモバイル変換


[0]ホーム

URL:


Jump to content
MediaWiki
Search

Manual:DefaultSettings.php

From mediawiki.org
Translate this page
Languages:
MediaWiki file: DefaultSettings.php
Location:includes/
Source code:master1.45.11.44.1.39.16
Classes:Find codeFind documentation

DefaultSettings.php is a deprecated stub that in prior versions containedconfiguration settings.Currently default settings are stored inMainConfigSchema.php.

DefaultSettings.php should never be edited, since any changes made to it will be lost at everyupgrade of MediaWiki. Rather, changes should be made toLocalSettings.php.

As of MediaWiki 1.38, includingDefaultSettings.php in yourLocalSettings.php will result in the error described atT311966:

PHP Fatal error:  Uncaught FatalError: $wgBaseDirectory must not be modified in settings files! Use the MW_INSTALL_PATH environment variable to override the installation root directory. in /var/www/html/w/includes/Setup.php:237Stack trace:#0 /var/www/html/w/maintenance/doMaintenance.php(96): require_once()#1 /var/www/html/w/maintenance/update.php(264): require_once('/var/www/html/w...')#2 {main}  thrown in /var/www/html/w/includes/Setup.php on line 237Fatal error: Uncaught FatalError: $wgBaseDirectory must not be modified in settings files! Use the MW_INSTALL_PATH environment variable to override the installation root directory. in /var/www/html/w/includes/Setup.php:237Stack trace:#0 /var/www/html/w/maintenance/doMaintenance.php(96): require_once()#1 /var/www/html/w/maintenance/update.php(264): require_once('/var/www/html/w...')#2 {main}  thrown in /var/www/html/w/includes/Setup.php on line 237
Retrieved from "https://www.mediawiki.org/w/index.php?title=Manual:DefaultSettings.php&oldid=7510235"
Category:
Hidden category:

[8]ページ先頭

©2009-2025 Movatter.jp