Manual:$wgDBmwschema

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgDBmwschema and the translation is 17% complete.

Other languages:
Deutsch • ‎English • ‎català • ‎dansk • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎suomi • ‎中文 • ‎日本語
Preferencias de base de datos: $wgDBmwschema
Schema that stores the MediaWiki tables in.
Introducido en la versión:1.8.0
Eliminado en la versión:aún se usa
Valores permitidos:(string)
Valor predeterminado:null (1.23+)
'mediawiki' (prior to 1.23)
Otros configuración: Alfabéticamente | Por Función

Detalles

Schema for mediawiki tables. It was originally only used if your backend database was Postgres/MSSQL. Since MediaWiki 1.31 it affects other database types too. This indicates what schema the main mediawiki tables live in, and is roughly equivalent to the way that $wgDBprefix is used by MySQL.

The installer of old MediaWiki versions were setting this to 'mediawiki' in LocalSettings.php directly, even for MySQL databases, which may cause errors when upgrading. If you get errors when upgrading to MediaWiki 1.31 or later and you're not using Postgres/MSSQL as database backend, remove this setting from LocalSettings.php.

Advertencia Advertencia: If you change this setting, you should probably create a new user (and change $wgDBuser as well), because the configuration script sets the user's default path to include the schema.