Manual:$wgLocalDatabases

From MediaWiki.org
(Redirected from $wgLocalDatabases)
Jump to navigation Jump to search
Other languages:
English • ‎español • ‎français • ‎magyar • ‎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:[]

Details[edit]

An array of database names. E.g.,

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

This is used for e.g. $wgConf (SiteConfiguration). $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]