Jump to content
MediaWiki

Manual:$wgLocalDatabases

From mediawiki.org
Database settings: $wgLocalDatabases
Other wikis on this site, can be administered from a single developer account.
Introduced in version:1.3.0
Removed in version:Still in use
Allowed values:(array of strings) - see below
Default value:[]
Other settings: Alphabetical | By function

Details

An array of database names. E.g.,

$wgLocalDatabases = [ 'wikipedia', 'meta', 'news' ];

This is used for e.g. $wgConf (SiteConfiguration). Note that $wgConf->wikis should be the same as $wgLocalDatabases.

It is needed to run a wiki family , for example by using Extension:CentralAuth .

It is also in use by some maintenance scripts like:

User rights on other wikis on this site can be administered from a single developer account (permission: userrights-interwiki).

See also

AltStyle によって変換されたページ (->オリジナル) /