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


[edit] Details

Other wikis on this site, can be administered from a single developer account. e.g.,

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

[edit] Earlier versions

Prior to 1.6.0 the array was indexed by interwiki prefix:

$wgLocalDatabases = array(
//   (interwiki prefix) => (database name),
     'WikiPedia' => 'wikipedia',
     'Meta' => 'meta',
     'WikiNews' => 'news'
);

(Note: That is just an example, and does not reflect any real configuration)

Personal tools