A service is needed that allows callers to get a database connection to the virtual-globalblocking database domain. This will replace the methods in the GlobalBlocking.php static utility class.
Change 1002970 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):
[mediawiki/extensions/GlobalBlocking@master] Create GlobalBlockingConnectionProvider
https://gerrit.wikimedia.org/r/1002970
Change 1002970 merged by jenkins-bot:
Suggested steps for QA:
These steps were designed to verify that no changes to the on-wiki interface have been made by this patch (as this ticket and patch refactored existing code without changing functionality). You may wish to test that nothing changed compared to running these steps on a wiki which does not have this change applied.
@Dreamy_Jazz Nothing changed as previously and has the same functions as seen in screenshots and .webm. This will be moved to Done. Thanks for all your work!
Status: ?PASS Environment: Local: 1.42.0-alpha ( f3389a3 )23:25, 16 February 2024; GlobalBlocking: commit 093123a6b8b990b96061450874cfac5235d347e8 & bffe54f3cbc809dd36389ea26e9ca05f631b3414 OS: macOS Sonoma 14.2.1 Browser: Chrome 121 Skins. Vector 2022 Device: MBA M2 Emulated Device: : n/a Test Links: https://en.m.wikipedia.beta.wmflabs.org/wiki/Dog#
?AC1: https://phabricator.wikimedia.org/T352491
'Latest Patch'
2/9 Patch