https://bugzilla.wikimedia.org/show_bug.cgi?id=33767
Pavel Malakhov <pavelmala...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME | --- Comment #4 from Pavel Malakhov <pavelmala...@gmail.com> 2012-01-19 07:45:09 UTC --- 1) Read Extension:GlobalUsage description and looked through the code => it uses LoadBalancer => does not how to fit it in my needs. No documentaion on my case. 2) looked through db.php... Please point me to the line I should pay attention to. If it is the $wgLBFactoryConf settings then... yes, it is rather complex :) Anyway, if the solusion is to use LoadBalancer then it is too complacated one, when we need just to ask a foreing wiki some simple sql question (f.e. get a page). It would be nice to use something like this: $wikiID[17] = array( 'server' => $wgDBserver, 'name' => $wgDBname, 'user' => $wgDBuser, 'password' => $wgDBpassword, 'prefix' => 'main__', ); $dbr = wfGetDB( DB_SLAVE, array(), $wikiID[17] ); Or somehow have an ability to pass all the connection parameters to wfGetDB(). -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l