- First step: widen types in method signatures to accept PageReference, PageIdentity or LinkTarget instead. (Done except for setTitle)
- Second step: widen types in method signatures to return PageReference, PageIdentity or LinkTarget instead (BREAKING!). (Done except for getTitle)
- Third step: survey callers of methods that return a Title (alone or as part of a tuple), and see of we can return a PageIdentity instead.
- Hard-deprecate setTitle() and getTitle()
- remove setTitle() and getTitle()
- Forth step: change callback signatures so they no longer require a Title (and, while we are at it, remove the need to have a RevisionRecord)
Description
Details
Related Objects
- Mentioned In
- T279796: Replace Title parameters in service classes
Event Timeline
Change 682328 had a related patch set uploaded (by Daniel Kinzler; author: Daniel Kinzler):
[mediawiki/core@master] Parser: remove Title from method signatures
Change 682328 merged by jenkins-bot:
[mediawiki/core@master] Parser: remove Title from method signatures
Change 872473 had a related patch set uploaded (by Umherirrender; author: Umherirrender):
[mediawiki/extensions/Kartographer@master] Replace deprecated Parser::getTitle
Change 872473 merged by jenkins-bot:
[mediawiki/extensions/Kartographer@master] Replace deprecated Parser::getTitle
Change 872987 had a related patch set uploaded (by Umherirrender; author: Umherirrender):
[mediawiki/extensions/GeoCrumbs@master] Replace deprecated Parser::getTitle
Change 872987 merged by jenkins-bot:
[mediawiki/extensions/GeoCrumbs@master] Replace deprecated Parser::getTitle