Manual:$wgDefaultExternalStore

From MediaWiki.org
Jump to: navigation, search
Translate this page; This page contains changes which are not marked for translation.

Other languages:
English • ‎español • ‎français • ‎日本語 • ‎polski
LoadBalancer settings: $wgDefaultExternalStore
Default external store for new revisions.
Introduced in version: 1.6.0 (r12537)
Removed in version: still in use
Allowed values: array, string or false
Default value: false
Other settings: Alphabetical | By function

Details[edit]

The place to put new revisions, false to put them in the local text table. Part of a URL, e.g. DB://cluster1

Can be an array instead of a single string, to enable data distribution. A cluster will be chosen randomly each time from the array. If inserting on the selected cluster fails, another one will be tried until all clusters fail. Keys must be consecutive integers, starting at zero. Example:

$wgDefaultExternalStore = array( 'DB://cluster1', 'DB://cluster2' );

See also[edit]