Page MenuHomePhabricator

Remove Content::getDeletionUpdates
Closed, ResolvedPublic

Description

Content::getDeletionUpdates was deprecated since 1.32 in favor of ContentHandler::getDeletionUpdates

However, 1 deployed extension still overrides it

  • Gadgets

After that, all usages of this method can be removed and the method itself can be removed.

This task is similar to T285729 and both can be worked on together.

Event Timeline

Change 704796 had a related patch set uploaded (by Roman Stolar; author: Roman Stolar):

[mediawiki/extensions/Gadgets@master] Override ContentHandler::getDeletionUpdates to use it instead of Content::getDeletionUpdates.

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

Change 704796 merged by jenkins-bot:

[mediawiki/extensions/Gadgets@master] Override ContentHandler::getDeletionUpdates and ContentHandler::getSecondaryDataUpdates.

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

Change 705861 had a related patch set uploaded (by Roman Stolar; author: Roman Stolar):

[mediawiki/core@master] Remove Content::getDeletionUpdates() and all usage of it.

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

Change 705868 had a related patch set uploaded (by Roman Stolar; author: Roman Stolar):

[mediawiki/extensions/Wikibase@master] Remove useless test EntityContentTestCase::testGetDeletionUpdates.

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

Change 705868 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Remove useless tests EntityContentTestCase::testGetDeletionUpdates & EntityContentTestCase::testGetSecondaryDataUpdates.

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

Change 705861 merged by jenkins-bot:

[mediawiki/core@master] Remove Content::getDeletionUpdates() and all usage of it.

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