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

       Web browser: ---
             Bug #: 42245
           Summary: database connection is inconsistent
           Product: MediaWiki extensions
           Version: master
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: CentralNotice
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---


Honestly, I could not wrap my head around commit
a14e49e523fd29d9294ff8e31817ab56df333012, "Make $wgCentralDBname default to
false".  While poking around to understand the issue, I noticed that
CentralNotice.db.php is sometimes getting a database connection using this
string, and at other times using the primary database name.

This patch introduces a helper function to get the database connection in a
consistent manner.  It's possible that I misunderstand something basic about
why we were using two databases.

https://gerrit.wikimedia.org/r/33986

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