Jump to content

Podręcznik:$wgSharedDB

From mediawiki.org
This page is a translated version of the page Manual:$wgSharedDB and the translation is 43% complete.
Shared DB settings: $wgSharedDB
The name of the shared database.
Wprowadzono w wersji:1.4.0
Usunięto w wersji:nadal w użyciu
Dozwolone wartości:nie określono
Domyślna wartość:null

Szczegóły

The name of the shared database.

Shared database for multiple wikis. Commonly used for storing a user table for single sign-on (actually not real SSO, since the user may still have to log in into each wiki separately, but at least registration has to be done only once). The server for this database must be the same as for the main database. From 1.13 on you may use $wgSharedPrefix to specify a separate prefix for this database.

This option and its related configuration options may not be compatible with databases other than MySQL. Obsługa SQLite została dodana w MediaWiki 1.17. Obsługa PostgreSQL została dodana w MediaWiki 1.19.

Zobacz Manual:Shared database , aby uzyskać informacje o użyciu.

MediaWiki 1.39 incorrectly gives a deprecation warning during update.php for this config. The warning can be ignored. [1]
Uwaga! Uwaga: Renameuser is currently incompatible with $wgSharedDB. See phab:T104830.

Zobacz też