⚓ T360664 Stop using, deprecate, and then remove various static ChangeTags methods moved to ChangeTagsStore
Page MenuHomePhabricator

Stop using, deprecate, and then remove various static ChangeTags methods moved to ChangeTagsStore
Open, Needs TriagePublic

Description

List:

  • ::getSoftwareTags()
  • ::addTags()
  • ::updateTags()
  • ::getTagsWithData()
  • ::getTags()
  • ::modifyDisplayQuery()
  • ::makeTagSummarySubquery()
  • ::defineTag()
  • ::deleteTagEverywhere()
  • ::listSoftwareActivatedTags()
  • ::listDefinedTags()
  • ::listExplicitlyDefinedTags()
  • ::listSoftwareDefinedTags()
  • ::purgeTagCacheAll()
  • ::tagUsageStatistics()
  • ::getDisplayTableName()

Actions:

  • Soft deprecate: in b5ccd131d6f0a4982510e1ce160accdd5d5938af for T245964
  • Replace uses in Wikimedia-deployed code:
    • MediaWiki core
    • mediawiki/extensions/AbuseFilter
    • mediawiki/extensions/ContentTranslation
    • mediawiki/extensions/DiscussionTools
    • mediawiki/extensions/EventBus
    • mediawiki/extensions/FileImporter
    • mediawiki/extensions/GrowthExperiments
    • mediawiki/extensions/MachineVision
    • mediawiki/extensions/MassMessage
    • mediawiki/extensions/MobileApp
    • mediawiki/extensions/MobileFrontend
    • mediawiki/extensions/ProofreadPage
    • mediawiki/extensions/WikiLove
    • mediawiki/extensions/Wikibase
    • mediawiki/extensions/WikibaseLexeme
    • mediawiki/extensions/WikimediaEditorTasks
  • Hard-deprecate (done in MW 1.44
  • Replace most uses in ecosystem-wide code
  • Remove, at earliest in MW 1.45

Details

SubjectRepoBranchLines +/-
mediawiki/coremaster+88 -50
mediawiki/extensions/ContentTranslationmaster+20 -13
mediawiki/extensions/ContentTranslationmaster+14 -5
mediawiki/extensions/GrowthExperimentsmaster+34 -18
mediawiki/coremaster+98 -60
mediawiki/extensions/Wikibasemaster+23 -25
mediawiki/extensions/WikibaseLexememaster+9 -6
mediawiki/extensions/FileImportermaster+4 -4
mediawiki/extensions/MobileFrontendmaster+6 -5
mediawiki/extensions/MassMessagemaster+1 -2
mediawiki/extensions/WikiLovemaster+3 -2
mediawiki/extensions/MassMessagemaster+2 -3
mediawiki/extensions/ProofreadPagemaster+1 -2
mediawiki/extensions/MobileAppmaster+3 -2
mediawiki/extensions/DiscussionToolsmaster+2 -2
mediawiki/extensions/AbuseFiltermaster+13 -12
mediawiki/extensions/WikimediaEditorTasksmaster+6 -4
Show related patches Customize query in gerrit

Event Timeline

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

[mediawiki/extensions/WikimediaEditorTasks@master] Replace ChangeTags::*Tags() calls with ChangeTagStore

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

Change #1013320 merged by jenkins-bot:

[mediawiki/extensions/WikimediaEditorTasks@master] Replace ChangeTags::*Tags() calls with ChangeTagStore

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

Change #1015517 had a related patch set uploaded (by Matěj Suchánek; author: Matěj Suchánek):

[mediawiki/extensions/AbuseFilter@master] Replace deprecated ChangeTags method calls with ChangeTagStore

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

Change #1015517 merged by jenkins-bot:

[mediawiki/extensions/AbuseFilter@master] Replace deprecated ChangeTags method calls with ChangeTagStore

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

Change #1015655 had a related patch set uploaded (by 沈澄心; author: 沈澄心):

[mediawiki/extensions/DiscussionTools@master] Replace deprecated ChangeTags method calls with ChangeTagsStore

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

Change #1015655 merged by jenkins-bot:

[mediawiki/extensions/DiscussionTools@master] Replace deprecated ChangeTags method calls with ChangeTagsStore

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

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

[mediawiki/extensions/WikiLove@master] ApiWikiLove: Replace use of deprecated ChangeTags::addTags()

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

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

[mediawiki/extensions/MassMessage@master] MessageSender: Replace use of deprecated ChangeTags::addTags()

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

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

[mediawiki/extensions/MassMessage@master] MassMessageJobTest: Replace use of deprecated ChangeTags::getTagsWithData()

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

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

[mediawiki/extensions/GrowthExperiments@master] Replace use of deprecated ChangeTags::addTags(), getTags(), ::getTagsWithData(), and ::updateTags()

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

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

[mediawiki/extensions/ContentTranslation@master] Replace use of deprecated ChangeTags::addTags() and ::listSoftwareActivatedTags()

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

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

[mediawiki/extensions/ProofreadPage@master] Replace use of deprecated ChangeTags::getTags()

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

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

[mediawiki/extensions/MobileFrontend@master] Replace use of deprecated ChangeTags::getTags()

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

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

[mediawiki/extensions/MobileApp@master] Replace use of deprecated ChangeTags::getTags()

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

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

[mediawiki/extensions/FileImporter@master] Replace use of deprecated ChangeTags::getTags()

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

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

[mediawiki/extensions/Wikibase@master] Replace use of deprecated ChangeTags::getTags(), defineTag(), and listExplicitlyDefinedTags()

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

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

[mediawiki/extensions/WikibaseLexeme@master] Replace use of deprecated ChangeTags::getTags() and defineTag()

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

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

[mediawiki/core@master] Replace uses of deprecated ChangeTags static methods

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

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

[mediawiki/core@master] ChangeTags: Hard-deprecate methods deprecated in 1.41

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

Change #1080404 merged by jenkins-bot:

[mediawiki/extensions/MobileApp@master] Replace use of deprecated ChangeTags::getTags()

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

Change #1080402 merged by jenkins-bot:

[mediawiki/extensions/ProofreadPage@master] Replace use of deprecated ChangeTags::getTags()

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

Change #1080389 merged by jenkins-bot:

[mediawiki/extensions/MassMessage@master] MessageSender: Replace use of deprecated ChangeTags::addTags()

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

Change #1080385 merged by jenkins-bot:

[mediawiki/extensions/WikiLove@master] ApiWikiLove: Replace use of deprecated ChangeTags::addTags()

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

Change #1080390 merged by jenkins-bot:

[mediawiki/extensions/MassMessage@master] MassMessageJobTest: Replace use of deprecated ChangeTags::getTagsWithData()

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

Change #1080401 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] Replace use of deprecated ChangeTags::addTags() and ::listSoftwareActivatedTags()

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

Change #1080406 merged by jenkins-bot:

[mediawiki/extensions/FileImporter@master] Replace use of deprecated ChangeTags::getTags()

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

Change #1080403 merged by jenkins-bot:

[mediawiki/extensions/MobileFrontend@master] Replace use of deprecated ChangeTags::getTags()

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

Change #1080411 merged by jenkins-bot:

[mediawiki/extensions/WikibaseLexeme@master] Replace use of deprecated ChangeTags::getTags() and defineTag()

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

Change #1080407 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Replace use of deprecated ChangeTags::getTags(), defineTag(), and listExplicitlyDefinedTags()

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

Change #1080416 merged by jenkins-bot:

[mediawiki/core@master] Replace uses of deprecated ChangeTags static methods

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

Change #1080398 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Replace use of deprecated ChangeTags::addTags(), getTags(), ::getTagsWithData(), and ::updateTags()

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

Change #1081194 had a related patch set uploaded (by Sbisson; author: Sbisson):

[mediawiki/extensions/ContentTranslation@master] Follow-up Ide1ec27a5adbf2ccdebcacacea120a401657eee1

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

Change #1081194 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] Inject ChangeTagsStore into Api(Content|Section)TranslationPublish

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

Change #1080417 merged by jenkins-bot:

[mediawiki/core@master] ChangeTags: Hard-deprecate methods deprecated in 1.41

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