Last modified: 2011-05-22 19:07:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T30194, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28194 - Adapt Interlanguage Extension for DB replication and Load Balancing
Adapt Interlanguage Extension for DB replication and Load Balancing
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Other (Other open bugs)
unspecified
All All
: Highest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 15607
  Show dependency treegraph
 
Reported: 2011-03-22 20:28 UTC by Mark A. Hershberger
Modified: 2011-05-22 19:07 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Mark A. Hershberger 2011-03-22 20:28:06 UTC
In Bug #15607 comment #60, Tim outlines the problem that must be solved before the InterLanguage extension can be deployed on WMF wiki's.  Opening a new bug for this to make separate issues easier to track:

> 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 );
Comment 1 Nikola Smolenski 2011-05-22 19:07:10 UTC
This is done in r84997.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links