Jump to content

Manual:$wgDefaultExternalStore

From mediawiki.org
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

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]