Page MenuHomePhabricator

Remove deprecated skin methods, hard deprecate soft deprecated methods
Closed, ResolvedPublic

Description

Remove the following methods:

  • Skin::makeSearchInput
  • Skin::makeSearchButton
  • Skin::buildContentNavigationUrls

The following methods were soft deprecated and should now be hard deprecated:

  • Skin::makeSpecialUrl
  • SkinFactory::getSkinNames
  • Skin::makeSpecialUrlSubpage

Sign off steps

Details

SubjectRepoBranchLines +/-
mediawiki/extensions/WikimediaMaintenanceREL1_43+1 -1
mediawiki/coreREL1_43+5 -12
mediawiki/skins/WikimediaApiPortalmaster+1 -2
mediawiki/coremaster+6 -0
mediawiki/coreREL1_43+6 -0
mediawiki/extensions/VisualEditorREL1_43+1 -1
mediawiki/extensions/GadgetsREL1_43+1 -1
mediawiki/coremaster+5 -12
mediawiki/extensions/VisualEditorREL1_39+1 -1
mediawiki/extensions/Thememaster+10 -3
mediawiki/coremaster+12 -0
mediawiki/extensions/WikimediaMaintenancewmf/1.44.0-wmf.1+1 -1
mediawiki/extensions/Gadgetswmf/1.44.0-wmf.1+1 -1
mediawiki/extensions/WikimediaMaintenancemaster+1 -1
mediawiki/extensions/Gadgetsmaster+1 -1
mediawiki/extensions/VisualEditormaster+1 -1
mediawiki/coremaster+9 -83
mediawiki/extensions/UploadWizardmaster+3 -3
mediawiki/extensions/Collectionmaster+45 -45
mediawiki/skins/CologneBluemaster+2 -1
Show related patches Customize query in gerrit

Event Timeline

Change #1081274 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/core@master] Skin: Deprecate skin methods

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

Jdlrobson renamed this task from Remove deprecated skin methods to Remove deprecated skin methods, hard deprecate soft deprecated methods.Oct 17 2024, 10:54 PM
Jdlrobson updated the task description. (Show Details)

Change #1081276 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/core@master] Hard deprecate soft deprecated skin methods

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

Change #1081280 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/skins/CologneBlue@master] Don't use deprecated method

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

Change #1081283 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/extensions/UploadWizard@master] Don't use deprecated skin method

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

Change #1081284 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/extensions/Collection@master] Don't use deprecated methods

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

Change #1081280 merged by jenkins-bot:

[mediawiki/skins/CologneBlue@master] Don't use deprecated method

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

Change #1081283 merged by jenkins-bot:

[mediawiki/extensions/UploadWizard@master] Don't use deprecated skin method

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

Change #1081284 merged by jenkins-bot:

[mediawiki/extensions/Collection@master] Don't use deprecated methods

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

Change #1081274 merged by jenkins-bot:

[mediawiki/core@master] Skin: Remove deprecated skin methods

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

Jdlrobson updated the task description. (Show Details)
Jdlrobson changed the task status from Open to Stalled.
Jdlrobson updated the task description. (Show Details)

Blocked by T377666

Change #1082495 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/extensions/VisualEditor@master] SkinFactory::getSkinNames is deprecated, use getInstalledSkins

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

Change #1082495 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] SkinFactory::getSkinNames is deprecated, use getInstalledSkins

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

Change #1081276 merged by jenkins-bot:

[mediawiki/core@master] Hard deprecate soft deprecated skin methods

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

Jdlrobson updated the task description. (Show Details)

Change #1083942 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/extensions/Gadgets@master] SpecialGadgets: Replace deprecated SkinFactory::getSkinNames() call

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

Change #1083943 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/extensions/WikimediaMaintenance@master] ChangeSkinPref: Replace deprecated SkinFactory::getSkinNames() call

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

SkinTemplate::buildContentNavigationUrls is still referenced in numerous repos too, in comments

https://codesearch.wmcloud.org/search/?q=buildContentNavigationUrls&files=&excludeFiles=&repos=

VisualEditor, MinervaNeue, DiscussionTools and WikimediaApiPortal...

Change #1083950 had a related patch set uploaded (by Jack Phoenix; author: Jack Phoenix):

[mediawiki/extensions/Theme@master] Future-proofing

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

Change #1083942 merged by jenkins-bot:

[mediawiki/extensions/Gadgets@master] SpecialGadgets: Replace deprecated SkinFactory::getSkinNames() call

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

Change #1083943 merged by jenkins-bot:

[mediawiki/extensions/WikimediaMaintenance@master] ChangeSkinPref: Replace deprecated SkinFactory::getSkinNames() call

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

Change #1083962 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/extensions/Gadgets@wmf/1.44.0-wmf.1] SpecialGadgets: Replace deprecated SkinFactory::getSkinNames() call

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

Change #1083963 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/extensions/WikimediaMaintenance@wmf/1.44.0-wmf.1] ChangeSkinPref: Replace deprecated SkinFactory::getSkinNames() call

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

Change #1083962 merged by jenkins-bot:

[mediawiki/extensions/Gadgets@wmf/1.44.0-wmf.1] SpecialGadgets: Replace deprecated SkinFactory::getSkinNames() call

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

Change #1083963 merged by jenkins-bot:

[mediawiki/extensions/WikimediaMaintenance@wmf/1.44.0-wmf.1] ChangeSkinPref: Replace deprecated SkinFactory::getSkinNames() call

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

Mentioned in SAL (#wikimedia-operations) [2024-10-29T14:32:51Z] <reedy@deploy2002> Started scap sync-world: 1.44.0-wmf.1 backports to fix deprecated logspam T375660 T377521

Mentioned in SAL (#wikimedia-operations) [2024-10-29T14:40:13Z] <reedy@deploy2002> Finished scap sync-world: 1.44.0-wmf.1 backports to fix deprecated logspam T375660 T377521 (duration: 07m 21s)

Change #1084142 had a related patch set uploaded (by Ammarpad; author: Ammarpad):

[mediawiki/core@master] tests: restore test for deprecated skin methods

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

Thanks @Reedy for the backports (I'm also wondering if these could have been flagged while this code was on the beta cluster via an alert - the search tool only gets so far)

SkinTemplate::buildContentNavigationUrls is still referenced in numerous repos too, in comments

https://codesearch.wmcloud.org/search/?q=buildContentNavigationUrls&files=&excludeFiles=&repos=

VisualEditor, MinervaNeue, DiscussionTools and WikimediaApiPortal...

Thanks. Added a sign off step to make sure this gets done before resolving.

Change #1084142 merged by jenkins-bot:

[mediawiki/core@master] tests: restore test for deprecated skin methods

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

Change #1084259 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/skins/MinervaNeue@master] Use getTemplateData for skin menus

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

@Jdlrobson are you planning to backport these into MW-1.43-release? Or will it be deferred to MW-1.44-release?

Change #1084854 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/extensions/VisualEditor@REL1_39] SkinFactory::getSkinNames is deprecated, use getInstalledSkins

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

Jdlrobson changed the task status from Open to Stalled.Wed, Oct 30, 5:41 PM

@Jdlrobson are you planning to backport these into MW-1.43-release? Or will it be deferred to MW-1.44-release?

Yes. I just need to work out which need to be backported and backporting is blocked on T378531.

Change #1083950 merged by jenkins-bot:

[mediawiki/extensions/Theme@master] Future-proofing

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

Change #1084896 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/extensions/VisualEditor@REL1_43] SkinFactory::getSkinNames is deprecated, use getInstalledSkins

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

Change #1084897 had a related patch set uploaded (by Jdlrobson; author: Reedy):

[mediawiki/extensions/Gadgets@REL1_43] SpecialGadgets: Replace deprecated SkinFactory::getSkinNames() call

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

Change #1084898 had a related patch set uploaded (by Jdlrobson; author: Reedy):

[mediawiki/extensions/WikimediaMaintenance@REL1_43] ChangeSkinPref: Replace deprecated SkinFactory::getSkinNames() call

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

Change #1084854 abandoned by Jdlrobson:

[mediawiki/extensions/VisualEditor@REL1_39] SkinFactory::getSkinNames is deprecated, use getInstalledSkins

Reason:

Wrong branch (should have been REL1_43 sorry!)

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

Change #1084899 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/core@master] RELEASE NOTES: Update release note relating to hard deprecation

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

Change #1084902 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/core@REL1_43] Hard deprecate soft deprecated skin methods

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

Change #1084896 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@REL1_43] SkinFactory::getSkinNames is deprecated, use getInstalledSkins

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

Change #1084897 merged by jenkins-bot:

[mediawiki/extensions/Gadgets@REL1_43] SpecialGadgets: Replace deprecated SkinFactory::getSkinNames() call

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

Change #1084909 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/core@REL1_43] RELEASE NOTES: Update release note relating to hard deprecation

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

Change #1084911 had a related patch set uploaded (by Ammarpad; author: Ammarpad):

[mediawiki/skins/WikimediaApiPortal@master] doc: Remove references to removed Skin method

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

Change #1084909 merged by jenkins-bot:

[mediawiki/core@REL1_43] RELEASE NOTES: Update release note relating to hard deprecation

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

Jdlrobson changed the task status from Stalled to Open.Wed, Oct 30, 10:31 PM

Okay this should be done and backported now! need to update documentation references, but this is not urgent from my perspective and not a simple find and replace job - most of these comments look like they need significant revising to be useful.

Change #1084899 merged by jenkins-bot:

[mediawiki/core@master] RELEASE NOTES: Update release note relating to hard deprecation

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

Change #1084911 merged by jenkins-bot:

[mediawiki/skins/WikimediaApiPortal@master] doc: Remove references to removed Skin method

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

Change #1084902 merged by Jdlrobson:

[mediawiki/core@REL1_43] Hard deprecate soft deprecated skin methods

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

Change #1084898 merged by jenkins-bot:

[mediawiki/extensions/WikimediaMaintenance@REL1_43] ChangeSkinPref: Replace deprecated SkinFactory::getSkinNames() call

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