Manual:DefaultSettings.php

This page is a translated version of the page Manual:DefaultSettings.php and the translation is 100% complete.

DefaultSettings.php contiene opciones de configuración predeterminadas.

DefaultSettings.php no debería editarse nunca, puesto que los cambios que se hagan en él se perderán cada vez que se actualice MediaWiki. Los cambios que necesites hacer hazlos en LocalSettings.php .

As of Mediawiki 1.38, including DefaultSettings.php in your LocalSettings.php will result in the error described at Phrabicator T311966:

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:237
Stack 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

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:237
Stack 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