https://bugzilla.wikimedia.org/show_bug.cgi?id=15607

Tim Starling <tstarl...@wikimedia.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tstarl...@wikimedia.org

--- Comment #60 from Tim Starling <tstarl...@wikimedia.org> 2011-03-22 02:05:21 
UTC ---
We can't enable extensions that don't allow DB replication and load balancing.
CentralAuth and the commons file repo were migrated to use LBFactory long ago.
This extension seems to be based on those modules before they were migrated. 

Basically, instead of configuring complete DB constructor parameters, you just
need a DB name, and the rest is done in $wgLBFactoryConf. Then to get a
connection, use:

$lb = wfGetLB( $dbname );
$dbw = $lb->getDB( DB_MASTER, array(), $dbname );
$dbr = $lb->getDB( DB_SLAVE, array(), $dbname );

-- 
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

Reply via email to