Open main menu
This page is a translated version of the page Manual:$wgDefaultExternalStore and the translation is 50% complete.

Other languages:
English • ‎español • ‎français • ‎magyar • ‎polski • ‎中文 • ‎日本語
负载均衡设置: $wgDefaultExternalStore
Default external store for new revisions.
引进版本:1.6.0 (r12537)


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