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

           Summary: Adapt Interlanguage Extension for DB replication and
                    Load Balancing
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: [other]
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
            Blocks: 15607


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

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to