Lucas_Werkmeister_WMDE created this task. Lucas_Werkmeister_WMDE added projects: Wikimedia-Rdbms, Wikidata, Wikibase Service Migration. Restricted Application added a subscriber: Aklapper. Restricted Application added projects: Platform Engineering, wdwb-tech.
TASK DESCRIPTION `DBAccessBase` is a base class for objects that need access to other wiki’s databases. Its constructor calls `MediaWikiServices::getInstance()->getDBLoadBalancerFactory()`, which means that this class, and any class extending it, is impossible to use in a unit test (where the service wiring is not set up). The lb factory should instead be injected into the constructor (optionally falling back to `MediaWikiServices`). An added complication is that, although `DBAccessBase` is only extended in Wikibase, the class itself is defined in MediaWiki, and marked `@stable to extend`. TASK DETAIL https://phabricator.wikimedia.org/T279063 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE Cc: Lucas_Werkmeister_WMDE, Aklapper, Invadibot, maantietaja, Akuckartz, WDoranWMF, holger.knust, EvanProdromou, Nandana, Banyek, Rayssa-, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Agabi10, Scott_WUaS, Pchelolo, Wikidata-bugs, aude, Dinoguy1000, Addshore, Mbch331, Jay8g
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
