Page MenuHomePhabricator

Deprecate and remove PageProps::getInstance()
Closed, ResolvedPublic

Description

PageProps has been converted to a service (see T253188). PageProps::getInstance() relies on global state and thus should be deprecated and later removed in favor of MediaWikiServices::getInstance()->getPageProps().

https://codesearch.wmcloud.org/search/?q=PageProps%5Cs*%3A%3A%5Cs*getInstance&i=fosho&files=&excludeFiles=&repos=

Event Timeline

Zabe renamed this task from Remove PageProps::getInstance() to Deprecate and remove PageProps::getInstance().Sep 26 2021, 12:17 AM

Change 723722 had a related patch set uploaded (by Zabe; author: Zabe):

[mediawiki/core@master] Soft deprecate PageProps::getInstance()

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

Change 723726 had a related patch set uploaded (by Zabe; author: Zabe):

[mediawiki/extensions/Wikibase@master] Replace usage of depreacted PageProps::getInstance()

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

Change 723727 had a related patch set uploaded (by Zabe; author: Zabe):

[mediawiki/extensions/WikibaseLexeme@master] Replace usage of deprecated PageProps::getInstance()

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

Change 723722 merged by jenkins-bot:

[mediawiki/core@master] Soft deprecate PageProps::getInstance()

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

Change 723725 had a related patch set uploaded (by Zabe; author: Zabe):

[mediawiki/extensions/DiscussionTools@master] Replace usage of deprecated PageProps::getInstance()

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

Change 723725 merged by jenkins-bot:

[mediawiki/extensions/DiscussionTools@master] Replace usage of deprecated PageProps::getInstance()

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

Change 723726 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Replace usage of deprecated PageProps::getInstance()

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

Change 723745 had a related patch set uploaded (by Zabe; author: Zabe):

[mediawiki/extensions/PageImages@master] Replace usage of deprecated PageProps::getInstance()

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

Change 723747 had a related patch set uploaded (by Zabe; author: Zabe):

[mediawiki/extensions/TemplateData@master] Replace usage of deprecated PageProps::getInstance()

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

Change 723745 merged by jenkins-bot:

[mediawiki/extensions/PageImages@master] Replace usage of deprecated PageProps::getInstance()

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

Change 723747 merged by jenkins-bot:

[mediawiki/extensions/TemplateData@master] Replace usage of deprecated PageProps::getInstance()

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

Change 723727 merged by jenkins-bot:

[mediawiki/extensions/WikibaseLexeme@master] Replace usage of deprecated PageProps::getInstance()

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

Change 724195 had a related patch set uploaded (by Zabe; author: Zabe):

[mediawiki/core@master] Hard deprecate PageProps::getInstance()

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

Change 725488 had a related patch set uploaded (by Zabe; author: Zabe):

[mediawiki/extensions/PageForms@master] Replace usage of deprecated PageProps::getInstance()

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

Change 725489 had a related patch set uploaded (by Zabe; author: Zabe):

[mediawiki/extensions/CommentStreams@master] Inject PageProps service

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

Change 725488 merged by jenkins-bot:

[mediawiki/extensions/PageForms@master] Replace usage of deprecated PageProps::getInstance()

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

Change 725489 merged by jenkins-bot:

[mediawiki/extensions/CommentStreams@master] Inject PageProps service

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

Change 724195 merged by jenkins-bot:

[mediawiki/core@master] Hard deprecate PageProps::getInstance()

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

Change 771995 had a related patch set uploaded (by Seb35; author: Seb35):

[mediawiki/extensions/JSBreadCrumbs@master] Use non-deprecated method in MW 1.38+

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

Change 771995 merged by jenkins-bot:

[mediawiki/extensions/JSBreadCrumbs@master] Replace usage of deprecated PageProps::getInstance()

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

Change 772005 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/DisplayTitle@master] Replace deprecated PageProps::getInstance

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

Change 772006 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/PageProperties@master] Replace deprecated PageProps::getInstance

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

Change 772007 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/WikiSEO@master] Replace deprecated PageProps::getInstance

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

Change 772006 merged by Zabe:

[mediawiki/extensions/PageProperties@master] Replace deprecated PageProps::getInstance

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

Change 772005 merged by jenkins-bot:

[mediawiki/extensions/DisplayTitle@master] Replace deprecated PageProps::getInstance

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

Change 772007 merged by Umherirrender:

[mediawiki/extensions/WikiSEO@master] Replace deprecated PageProps::getInstance

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

Change 848479 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/core@master] Remove deprecated PageProps::getInstance

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

Change 848479 merged by jenkins-bot:

[mediawiki/core@master] Remove deprecated PageProps::getInstance

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