手册:$wgDefaultExternalStore

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgDefaultExternalStore and the translation is 50% complete.

Other languages:
English • ‎español • ‎français • ‎polski • ‎中文 • ‎日本語
负载均衡设置: $wgDefaultExternalStore
Default external store for new revisions.
引进版本:1.6.0 (r12537)
移除版本:仍在使用
允许的值:数组、字符串或false
默认值:false

详情

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' );

参见