From: Brion Vibber Date: Sat, 4 Aug 2007 10:49:10 +0000 (+0000) Subject: Move $wgAlternateMaster to core DefaultSettings.php from MakeSysop, since it's used... X-Git-Tag: 1.31.0-rc.0~51877 X-Git-Url: http://git.cyclocoop.org/%22.htmlspecialchars%28%24url_syndic%29.%22?a=commitdiff_plain;h=e121a061036f02df0b568eb640d9a19681c4c622;p=lhc%2Fweb%2Fwiklou.git Move $wgAlternateMaster to core DefaultSettings.php from MakeSysop, since it's used now in some more maintenance scripts and will be used by other extensions soon --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 241f63f7ff..a77c26d223 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -645,6 +645,19 @@ $wgDBmysql5 = false; */ $wgLocalDatabases = array(); +/** + * For multi-wiki clusters with multiple master servers; if an alternate + * is listed for the requested database, a connection to it will be opened + * instead of to the current wiki's regular master server when cross-wiki + * data operations are done from here. + * + * Requires that the other server be accessible by network, with the same + * username/password as the primary. + * + * eg $wgAlternateMaster['enwiki'] = 'ariel'; + */ +$wgAlternateMaster = array(); + /** * Object cache settings * See Defines.php for types