Page MenuHomePhabricator

Switch from LoadBalancer::getConnection() to ICP::getReplicaDatabase/getPrimaryDatabase
Open, Needs TriagePublic

Description

See IConnectionProvider.php for more info.

  • wfGetDB()
    • MediaWiki core
    • mediawiki/extensions/ActiveAbstract
    • mediawiki/extensions/AntiSpoof
    • mediawiki/extensions/BounceHandler
    • mediawiki/extensions/CentralAuth
    • mediawiki/extensions/CentralNotice
    • mediawiki/extensions/CirrusSearch
    • mediawiki/extensions/Collection
    • mediawiki/extensions/ConfirmEdit
    • mediawiki/extensions/CreditsSource
    • mediawiki/extensions/Echo
    • mediawiki/extensions/FlaggedRevs
    • mediawiki/extensions/Flow
    • mediawiki/extensions/Gadgets
    • mediawiki/extensions/GeoData
    • mediawiki/extensions/GlobalBlocking
    • mediawiki/extensions/GlobalUsage
    • mediawiki/extensions/IPInfo
    • mediawiki/extensions/Interwiki
    • mediawiki/extensions/LdapAuthentication
    • mediawiki/extensions/LiquidThreads
    • mediawiki/extensions/MachineVision
    • mediawiki/extensions/MobileApp
    • mediawiki/extensions/MobileFrontend
    • mediawiki/extensions/Newsletter
    • mediawiki/extensions/OAuth
    • mediawiki/extensions/ORES
    • mediawiki/extensions/PageAssessments
    • mediawiki/extensions/ShortUrl
    • mediawiki/extensions/SpamBlacklist
    • mediawiki/extensions/SubPageList3
    • mediawiki/extensions/TemplateData
    • mediawiki/extensions/Translate
    • mediawiki/extensions/TranslationNotifications
    • mediawiki/extensions/UploadWizard
    • mediawiki/extensions/VisualEditor
    • mediawiki/extensions/WikibaseMediaInfo
    • mediawiki/extensions/WikiLambda
    • mediawiki/extensions/WikimediaEditorTasks
    • mediawiki/extensions/WikimediaMaintenance
    • mediawiki/extensions/intersection
  • getConnection()

Details

SubjectRepoBranchLines +/-
mediawiki/extensions/ORESmaster+35 -16
mediawiki/extensions/MobileFrontendmaster+21 -5
mediawiki/coremaster+1 -19
mediawiki/coremaster+2 -3
mediawiki/extensions/OAuthmaster+14 -4
mediawiki/extensions/Echomaster+3 -2
mediawiki/coremaster+57 -33
mediawiki/extensions/TemplateDatamaster+7 -4
mediawiki/extensions/Echomaster+3 -2
mediawiki/extensions/VisualEditormaster+1 -1
mediawiki/extensions/BounceHandlermaster+7 -4
mediawiki/extensions/ActiveAbstractmaster+1 -1
mediawiki/extensions/Echomaster+24 -9
mediawiki/coremaster+59 -35
mediawiki/coremaster+10 -10
mediawiki/coremaster+227 -200
mediawiki/extensions/ProofreadPagemaster+11 -6
mediawiki/coremaster+31 -25
mediawiki/extensions/Disambiguatormaster+24 -15
mediawiki/extensions/TimedMediaHandlermaster+16 -8
mediawiki/extensions/Thanksmaster+2 -1
mediawiki/coremaster+19 -17
mediawiki/coremaster+20 -13
mediawiki/coremaster+6 -6
mediawiki/extensions/ReplaceTextmaster+14 -5
mediawiki/coremaster+16 -9
mediawiki/extensions/BetaFeaturesmaster+18 -5
mediawiki/extensions/PageImagesmaster+13 -2
mediawiki/extensions/IPInfomaster+135 -181
mediawiki/extensions/ORESmaster+39 -38
mediawiki/extensions/CheckUsermaster+115 -126
mediawiki/extensions/WikiLambdamaster+42 -42
mediawiki/coremaster+39 -52
mediawiki/extensions/WikiLovemaster+11 -2
mediawiki/extensions/PageLanguagemaster+9 -1
mediawiki/coremaster+37 -37
mediawiki/coremaster+7 -7
mediawiki/coremaster+15 -13
mediawiki/coremaster+95 -123
mediawiki/extensions/NewestPagesmaster+20 -4
mediawiki/extensions/Kartographermaster+1 -1
mediawiki/extensions/CategoryTreemaster+11 -3
mediawiki/coremaster+78 -81
mediawiki/extensions/FileImportermaster+2 -23
mediawiki/extensions/WikimediaIncubatormaster+3 -3
mediawiki/coremaster+34 -25
mediawiki/coremaster+38 -31
mediawiki/coremaster+7 -7
mediawiki/coremaster+11 -14
mediawiki/coremaster+10 -10
mediawiki/coremaster+21 -22
mediawiki/extensions/TwoColConflictmaster+1 -1
mediawiki/extensions/SecurePollmaster+1 -1
mediawiki/extensions/WikiLambdamaster+13 -13
mediawiki/extensions/WikiLambdamaster+3 -3
mediawiki/coremaster+43 -57
mediawiki/coremaster+39 -10
mediawiki/coremaster+41 -52
mediawiki/coremaster+97 -96
mediawiki/coremaster+13 -18
mediawiki/coremaster+28 -38
mediawiki/coremaster+10 -20
mediawiki/coremaster+11 -10
mediawiki/coremaster+43 -52
mediawiki/coremaster+55 -90
mediawiki/coremaster+17 -16
mediawiki/coremaster+79 -49
mediawiki/coremaster+32 -32
mediawiki/coremaster+516 -497
mediawiki/coremaster+12 -12
mediawiki/coremaster+20 -20
mediawiki/coremaster+10 -16
Show related patches Customize query in gerrit

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes

Change 959845 had a related patch set uploaded (by Fomafix; author: Fomafix):

[mediawiki/extensions/NewestPages@master] Replace deprecated wfGetDB( DB_REPLICA )

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

Change 959845 merged by jenkins-bot:

[mediawiki/extensions/NewestPages@master] Replace deprecated wfGetDB( DB_REPLICA )

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

Change 960692 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[mediawiki/core@master] tests: Use $this->getDb() instead of wfGetDB() in integration tests

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

Change 960692 merged by jenkins-bot:

[mediawiki/core@master] tests: Use $this->getDb() instead of wfGetDB() in integration tests

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

Change 961162 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[mediawiki/core@master] Switch to ICP in some easy cases

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

Change 961175 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[mediawiki/core@master] tests: Migrate away from LoadBalancer::getConnection

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

Change 961162 merged by jenkins-bot:

[mediawiki/core@master] Switch to ICP in some easy cases

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

Change 961175 merged by jenkins-bot:

[mediawiki/core@master] tests: Migrate away from LoadBalancer::getConnection

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

Change 962610 had a related patch set uploaded (by Fomafix; author: Fomafix):

[mediawiki/extensions/PageLanguage@master] Replace deprecated wfGetDB( DB_REPLICA )

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

Change 962610 merged by jenkins-bot:

[mediawiki/extensions/PageLanguage@master] Replace deprecated wfGetDB( DB_REPLICA )

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

Change 963136 had a related patch set uploaded (by Fomafix; author: Fomafix):

[mediawiki/extensions/WikiLove@master] Replace deprecated global function wfGetDB()

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

Change 963740 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[mediawiki/core@master] Migrate to IConnectionProvider methods in more places

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

Change 963136 merged by jenkins-bot:

[mediawiki/extensions/WikiLove@master] Replace deprecated global function wfGetDB()

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

Change 963740 merged by jenkins-bot:

[mediawiki/core@master] Migrate to IConnectionProvider methods in more places

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

Change 963839 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[mediawiki/extensions/WikiLambda@master] ZObjectStore: Switch to ICP instead of LB

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

Change 963839 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] ZObjectStore: Switch to ICP instead of LB

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

Change 964964 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[mediawiki/extensions/CheckUser@master] Migrate the extension to use ICP instead of LB/LBF

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

Change 964969 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[mediawiki/extensions/ORES@master] Migrate away from LB/LBF to ICP

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

Change 964964 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Migrate the extension to use ICP instead of LB/LBF

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

Change 964969 merged by jenkins-bot:

[mediawiki/extensions/ORES@master] Migrate away from LB/LBF to ICP

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

Change 964993 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/IPInfo@master] Migrate ILoadBalancer to IConnectionProvider and other fixes

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

Change 964993 merged by jenkins-bot:

[mediawiki/extensions/IPInfo@master] Migrate ILoadBalancer to IConnectionProvider and other fixes

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

Change 965918 had a related patch set uploaded (by Fomafix; author: Fomafix):

[mediawiki/extensions/PageImages@master] Replace deprecated global function wfGetDB()

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

Change 965918 merged by jenkins-bot:

[mediawiki/extensions/PageImages@master] Replace deprecated global function wfGetDB()

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

Change 966491 had a related patch set uploaded (by Fomafix; author: Fomafix):

[mediawiki/extensions/BetaFeatures@master] Replace deprecated global function wfGetDB()

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

Change 966491 merged by jenkins-bot:

[mediawiki/extensions/BetaFeatures@master] Replace deprecated global function wfGetDB()

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

Change 966637 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[mediawiki/core@master] Migrate a couple more wfGetDb() calls to ICP

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

Change 966637 merged by jenkins-bot:

[mediawiki/core@master] Migrate a couple more wfGetDb() calls to ICP

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

Change 966944 had a related patch set uploaded (by Fomafix; author: Fomafix):

[mediawiki/extensions/ReplaceText@master] Replace deprecated global function wfGetDB()

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

Change 966944 merged by jenkins-bot:

[mediawiki/extensions/ReplaceText@master] Replace deprecated global function wfGetDB()

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

Change 970368 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[mediawiki/core@master] Title: Stop using wfGetDb()

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

Change 970370 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[mediawiki/core@master] RenameUser: Migrate from ILB to ICP

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

Change 970368 merged by jenkins-bot:

[mediawiki/core@master] Title: Stop using wfGetDb()

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

Change 970370 merged by jenkins-bot:

[mediawiki/core@master] RenameUser: Migrate from ILB to ICP

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

Change 970846 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[mediawiki/core@master] SiteStats: Use ICP in SiteStatsInit

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

Change 970846 merged by jenkins-bot:

[mediawiki/core@master] SiteStats: Use ICP in SiteStatsInit

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

Change 971608 had a related patch set uploaded (by Fomafix; author: Fomafix):

[mediawiki/extensions/TimedMediaHandler@master] Replace deprecated global function wfGetDB()

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

Change 972465 had a related patch set uploaded (by Fomafix; author: Fomafix):

[mediawiki/extensions/Thanks@master] Replace deprecated global function wfGetDB()

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

Change 972465 merged by jenkins-bot:

[mediawiki/extensions/Thanks@master] Replace deprecated global function wfGetDB()

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

Change 973241 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[mediawiki/extensions/Disambiguator@master] Add support for read new of pagelinks

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

Change 971608 merged by jenkins-bot:

[mediawiki/extensions/TimedMediaHandler@master] Replace deprecated global function wfGetDB()

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

Change 973241 merged by jenkins-bot:

[mediawiki/extensions/Disambiguator@master] Add support for read new of pagelinks

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

Change 975060 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[mediawiki/core@master] Migrate off wfGetDB() in more places to ICP

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

Change 975060 merged by jenkins-bot:

[mediawiki/core@master] Migrate off wfGetDB() in more places to ICP

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

Change 976796 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[mediawiki/core@master] Two easy migrations to ICP

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

Change 979471 had a related patch set uploaded (by Fomafix; author: Fomafix):

[mediawiki/extensions/ProofreadPage@master] Replace deprecated global function wfGetDB()

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

Change 979471 merged by jenkins-bot:

[mediawiki/extensions/ProofreadPage@master] Replace deprecated global function wfGetDB()

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

Change 991407 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[mediawiki/core@master] maintenance: Introduce getReplicaDB() and getPrimaryDB()

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

Change 991407 merged by jenkins-bot:

[mediawiki/core@master] maintenance: Introduce getReplicaDB() and getPrimaryDB()

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

Change 999003 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[mediawiki/core@master] page: Migrate UndeletePage to ICP

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

Change 999003 merged by jenkins-bot:

[mediawiki/core@master] page: Migrate UndeletePage to ICP

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

Change 1002604 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[mediawiki/core@master] Move away from wfGetDB() calls

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

Change 1003048 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/core@master] Replace last remaining wfGetDB() calls in core

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

Change 1002604 merged by jenkins-bot:

[mediawiki/core@master] Move away from wfGetDB() calls

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

Change 1003077 had a related patch set uploaded (by Sergio Gimeno; author: Sergio Gimeno):

[mediawiki/extensions/Echo@master] Replace deprecated usage of wfGetDB

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

Change 1003077 merged by jenkins-bot:

[mediawiki/extensions/Echo@master] Replace deprecated usage of wfGetDB

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

Change 1003397 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[mediawiki/extensions/ORES@master] Migrate away from wfGetDB()

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

Change 1003448 had a related patch set uploaded (by Pmiazga; author: Pmiazga):

[mediawiki/extensions/OAuth@master] WIP: Fix call to deprecated wfGetDB

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

Change 1003454 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/VisualEditor@master] Replace wfGetDB() with ICP getReplicaDatabase()

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

Change 1003456 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/TemplateData@master] Replace wfGetDB() with ICP getReplicaDatabase()

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

Change 1003457 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/Echo@master] Replace wfGetDB() with ICP getReplicaDatabase()

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

Change 1003459 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/ActiveAbstract@master] Replace wfGetDB() with ICP getReplicaDatabase()

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

Change 1003460 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/AntiSpoof@master] Replace wfGetDB() with ICP getReplicaDatabase()

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

Change 1003461 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/BounceHandler@master] Replace wfGetDB() with ICP getReplicaDatabase() etc.

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

Change 1003462 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/core@master] [WIP] ResourceLoader: Migrate call from wfGetDB to ICP

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

Change 1003459 merged by jenkins-bot:

[mediawiki/extensions/ActiveAbstract@master] Replace wfGetDB() with ICP getReplicaDatabase()

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

Change 1003454 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] Replace wfGetDB() with ICP getReplicaDatabase()

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

Change 1003461 merged by jenkins-bot:

[mediawiki/extensions/BounceHandler@master] Replace wfGetDB() with ICP getReplicaDatabase() etc.

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

Change 1003487 had a related patch set uploaded (by Sergio Gimeno; author: Sergio Gimeno):

[mediawiki/extensions/Echo@master] UserLocator: replace deprecated usage of wfGetDB

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

Change 1003457 merged by jenkins-bot:

[mediawiki/extensions/Echo@master] Replace wfGetDB() with ICP getReplicaDatabase()

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

Change 1003456 merged by jenkins-bot:

[mediawiki/extensions/TemplateData@master] Replace wfGetDB() with ICP getReplicaDatabase()

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

Change 1003048 merged by jenkins-bot:

[mediawiki/core@master] Replace last remaining wfGetDB() calls in core, except ResourceLoader

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

Change 1003487 merged by jenkins-bot:

[mediawiki/extensions/Echo@master] UserLocator: replace deprecated usage of wfGetDB

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

Change 1004631 had a related patch set uploaded (by Phuedx; author: Phuedx):

[mediawiki/extensions/MobileFrontend@master] Replace deprecated wfGetDB( DB_REPLICA )

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

Change 1004631 merged by jenkins-bot:

[mediawiki/extensions/MobileFrontend@master] Replace deprecated wfGetDB( DB_REPLICA )

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

Change 1003397 merged by jenkins-bot:

[mediawiki/extensions/ORES@master] Migrate away from wfGetDB()

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