Jakob_WMDE added subscribers: Addshore, Jakob_WMDE. Jakob_WMDE added a comment.
After talking to @Addshore we decided that this can be refactored to avoid calling the unusual methods on LBFactory. Since this saves recent changes entries for the //local// wiki, this can simply get a write connection (RecentChanges.php does `wfGetDB( DB_PRIMARY )` internally) and replace `getEmptyTransactionTicket` with a `begin()` and `commitAndWaitForReplication` with `commit()`, and then waiting for replication for the local domain. TASK DETAIL https://phabricator.wikimedia.org/T283330 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Jakob_WMDE Cc: Jakob_WMDE, Addshore, Aklapper, Michael, Invadibot, maantietaja, Akuckartz, Iflorez, alaa_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
