Page MenuHomePhabricator

[1.36] Hard deprecate BaseTemplate::getToolbox method
Closed, ResolvedPublic

Description

The BaseTemplate::getToolbox method was soft deprecated in 1.35.
It should be hard deprecated in 1.36

Acceptance criteria

  • When used a warning is thrown when $wgDeprecationWarnings = true

Event Timeline

DannyS712 subscribed.

@Jdlrobson title says 1.36, description says 1.35 - in what version should it be deprecated?

Jdlrobson renamed this task from [1.36] Hard deprecate BaseTemplate::getToolbox to [1.36] Remove BaseTemplate::getToolbox.Jun 13 2020, 3:36 PM
Jdlrobson renamed this task from [1.36] Remove BaseTemplate::getToolbox to [1.36] Hard deprecate BaseTemplate::getToolbox.
Jdlrobson renamed this task from [1.36] Hard deprecate BaseTemplate::getToolbox to [1.36] Hard deprecate BaseTemplate::getToolbox method.
Jdlrobson updated the task description. (Show Details)
Jdlrobson updated the task description. (Show Details)
Jdlrobson updated the task description. (Show Details)

Change 627245 had a related patch set uploaded (by Ammarpad; owner: Ammarpad):
[mediawiki/core@master] Hard deprecate BaseTemplate::getToolbox()

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

Change 627245 merged by jenkins-bot:
[mediawiki/core@master] Hard deprecate BaseTemplate::getToolbox()

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

Shoot. We need to update RELEASE-NOTES-1.36 to mention the hard deprecation. Sorry for missing that in code review.

Change 627402 had a related patch set uploaded (by Ammarpad; owner: Ammarpad):
[mediawiki/core@master] Add release note for BaseTemplate::getToolbox

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

Shoot. We need to update RELEASE-NOTES-1.36 to mention the hard deprecation. Sorry for missing that in code review.

Actually I intentionally omitted it because I noticed it's not being repeated in such cases. I guess that's part of the rationale behind using the version number were the deprecation first occur. But in this case it might worth it, because we did use the 'soft' qualifier in the note. Some cases just say 'deprecated' and so the statement remains true as is even after the subsequent hard deprecation.

Change 627402 merged by jenkins-bot:
[mediawiki/core@master] Add release note for BaseTemplate::getToolbox

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

Thanks @Ammarpad! one more down :)