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

MediaWiki version: 1.6 and newer

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

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

[edit] Earlier versions

MediaWiki version: 1.5

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)

Language: English  • Français • 日本語 • Русский
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox