Page MenuHomePhabricator

SpecialPageFactory::getTitleForAlias always throws exception
Closed, ResolvedPublic

Description

It calls resolveAlias, gets an array back, then calls getTitleFor with the result. getTitleFor expects a string, so always throws an exception.

We can either fix getTitleForAlias (just call getTitleFor) with the first element of the array returned by resolveAlias), or delete it and its sole usage in the deprecated function SpecialPage::getTitleForAlias


Version: 1.24rc
Severity: normal

Details

Reference
bz67045

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:37 AM
bzimport set Reference to bz67045.
bzimport added a subscriber: Unknown Object (MLST).
Ejegg created this task.Jun 24 2014, 6:52 PM

Change 141845 had a related patch set uploaded by Ejegg:
Fix SpecialPageFactory::getTitleForAlias

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

Change 141845 merged by jenkins-bot:
Fix SpecialPageFactory::getTitleForAlias

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

successfully merged