Manual:$wgLocalDatabases

From MediaWiki.org
Jump to: navigation, search
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. $wgConf (SiteConfiguration) and $wgConf->wikis should be the same as $wgLocalDatabases.

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

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

See also [edit]

Language: English  • français • 日本語 • русский