Page MenuHomePhabricator

Complete deprecation cycle of Article methods and properties
Open, LowPublic

Description

Context:

I found deprecated methods and properties, while I was working with https://phabricator.wikimedia.org/T239975

I recommend:

  • to research the usage of these methods and properties
  • to make hard deprecate for soft deprecated methods
  • to remove hard deprecated methods without calls
  • to remove not used properties
  • to make private/protected used properties and remove deprecation hint

Goal:

  • to improve WikiPage/Article
  • to minimize public methods (properties) and codebase of these classes

Methods for deprecation:

  • @todo MCR: Remove in 1.33
  • @deprecated since 1.32

\Article::$mContentObject

  • @deprecated since 1.32

\Article::$mContentLoaded = false;
\Article::$mRevIdFetched
\Article::$mParserOutput
\Article::getContentObject
\Article::fetchContentObject()

  • @deprecated since 1.30

Article::viewRedirect

Event Timeline

Art-Baltai renamed this task from Complite deprecations of Article methods to Complete deprecation of Article methods and properties.May 5 2020, 1:32 PM
Art-Baltai renamed this task from Complete deprecation of Article methods and properties to Complete deprecation cycle of Article methods and properties.

Change 850654 had a related patch set uploaded (by Matěj Suchánek; author: Matěj Suchánek):

[mediawiki/core@master] Remove Article::viewRedirect

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

Change 850654 merged by jenkins-bot:

[mediawiki/core@master] Remove Article::viewRedirect

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

  NODES
HOME 1
Note 3
os 4
text 1
todo 1