Page MenuHomePhabricator

Hard deprecate the Group::insertAfter() function in Minerva
Closed, ResolvedPublic

Description

Based on feedback provided in Gerrit patch 807177, the Group::insertAfter() function should first be deprecated before being deleted.

A hard deprecation is being chosen over a soft deprecation because this function is unused in the codebase. More information about deprecation can be found here.

If the deprecated code is unused in Wikimedia maintained code at the time of deprecation, it SHOULD be hard deprecated immediately.

Acceptance criteria

  • The code is hard deprecated
  • The deprecation appears in the release notes

Event Timeline

@Scardenasmolinar: Assuming this task is about the MinervaNeue code project, hence adding that project tag so other people who don't know or don't care about team tags can also find this task when searching via projects. Please set appropriate project tags when possible. Thanks!

Change 811799 had a related patch set uploaded (by Scardenasmolinar; author: Scardenasmolinar):

[mediawiki/skins/MinervaNeue@master] Group.php: Hard deprecate insertAfter() function

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

Scardenasmolinar added a subscriber: ovasileva.

@ovasileva Hello! This is ready for review by the web team. It's a pretty small patch and a follow-up to T221004.

Change 811799 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@master] Group.php: Hard deprecate insertAfter() function

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

Jdlrobson subscribed.

Thanks for working on this! I've created T313339 to make sure we eventually remove this!

I also created T311895 to remind ourselves to remove this.