Page MenuHomePhabricator

TitleFormatter (implemented in MediaWikiTitleCodec) should accept PageIdentity as argument
Closed, ResolvedPublic

Description

This issue related to:
https://phabricator.wikimedia.org/T272557

MediaWikititleCodec.php should accept both PageIdentity and LinkTarget interfaces hence $title should create PageIdentityValue.
Tests should handle PageIdentity cases too.

Event Timeline

Peter.ovchyn renamed this task from MediaWikiTitleCodec class should accept PageIdentity interface as well to TitleFormatter (implemented in MediaWikiTitleCodec) should accept PageIdentity as argument.Mar 22 2021, 2:39 PM

Change 674086 had a related patch set uploaded (by Vadim Kovalenko; owner: Vadim Kovalenko):
[mediawiki/core@master] Pass PageIdentity interface to MediaWikiTitleCodec

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

Change 674086 merged by jenkins-bot:
[mediawiki/core@master] Make TitleFormatter accept PageIdentity interface

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