Manual:$wgDefaultExternalStore/zh
From Linux Web Expert
<translate> LoadBalancer settings</translate>: $wgDefaultExternalStore | |
---|---|
Default external store for new revisions. |
|
<translate> Introduced in version:</translate> | 1.6.0 (r12537) |
<translate> Removed in version:</translate> | <translate> still in use</translate> |
<translate> Allowed values:</translate> | 数组、字符串或false |
<translate> Default value:</translate> | false |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
详情
The place to put new revisions, false to put them in the local text table.
URL的一部分,例如
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. 例子:
$wgDefaultExternalStore = array( 'DB://cluster1', 'DB://cluster2' );