wiki.techinc.nl/includes/changes
Amir Sarabadani e1b3323312 Migrate calls to wfGetDB() in static methods
wfGetDB() has been deprecated since 1.39 (or more?) and it's better to
inject LBF and call ::getReplicaDatabase() or ::getPrimaryDatabase()
which is not straightforward in classes but for static functions, there
is no way to inject the method so we can simply call
MediaWikiServices::getInstance()->getDBLoadBalancerFactory()

While I was here, I migrated one call to SelectQueryBuilder.

Bug: T330641
Change-Id: Idd2278cef647035dce05a2d461a620e145fe1167
2023-09-05 10:48:31 +02:00
..
Hook Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
CategoryMembershipChange.php Consistently use LogicException for test-only methods 2023-07-22 16:21:42 +00:00
ChangesFeed.php Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
ChangesList.php ChangesList: Cache user links 2023-08-20 16:55:58 +02:00
ChangesListBooleanFilter.php Reorg: Move HTML-related classes out of includes/ to Html/ 2023-02-16 20:40:01 +01:00
ChangesListBooleanFilterGroup.php Reorg: Move HTML-related classes out of includes/ to Html/ 2023-02-16 20:40:01 +01:00
ChangesListFilter.php Reorg: Move HTML-related classes out of includes/ to Html/ 2023-02-16 20:40:01 +01:00
ChangesListFilterGroup.php Reorg: Move HTML-related classes out of includes/ to Html/ 2023-02-16 20:40:01 +01:00
ChangesListStringOptionsFilter.php Reorg: Move HTML-related classes out of includes/ to Html/ 2023-02-16 20:40:01 +01:00
ChangesListStringOptionsFilterGroup.php Reorg: Move HTML-related classes out of includes/ to Html/ 2023-02-16 20:40:01 +01:00
EnhancedChangesList.php EnhancedChangesList: Use HTML/CSS for collapsing 2023-07-13 23:12:45 +00:00
OldChangesList.php Reorg: Move HTML-related classes out of includes/ to Html/ 2023-02-16 20:40:01 +01:00
RCCacheEntry.php
RCCacheEntryFactory.php mark various anonymous functions as static 2023-08-22 19:38:38 +00:00
RecentChange.php Migrate calls to wfGetDB() in static methods 2023-09-05 10:48:31 +02:00