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

       Web browser: ---
             Bug #: 33767
           Summary: add to wfGetDB an ability to change server
           Product: MediaWiki
           Version: 1.18
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Database
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: pavelmala...@gmail.com
    Classification: Unclassified


Currently (MW 1.18.1) wfGetDB() is able to access to any wiki on the server by
setting/changing wikiID. For example:
$wikiID = $wiki->db['name'] ."-". $wiki->prefix;
$groups = array();        //fake array for wfGetDB
$dbr = wfGetDB( DB_SLAVE, $groups, $wikiID );

But there is no way how we can use wfGetDB() to access the DB on other servers.

I need this feature in WikiFarm  extention
(http://www.mediawiki.org/wiki/Extension:WikiFarm) in order to manager several
wikis on several servers.

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