Manual:$wgLocalDatabases

From MediaWiki.org
Jump to: navigation, search

Other languages:
Deutsch • ‎English • ‎español • ‎فارسی • ‎français • ‎日本語 • ‎polski • ‎português do Brasil • ‎русский
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: array()
Other settings: Alphabetical | By function

Details[edit]

An array of database names. E.g.,

$wgLocalDatabases = array( 'wikipedia', 'meta', 'news' );

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

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

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

See also[edit]