Page MenuHomePhabricator

Validate title on moves to avoid fatals / odd moves
Closed, ResolvedPublic

Description

See class WikiPageTarget and method call Title::newFromText( $newData->getTitle() )->getPrefixedText(),

newFromText can return null and thus break things.
If newFromText returns null an exception should be thrown indicating that the target can not me moved to here

Event Timeline

Addshore claimed this task.
Addshore raised the priority of this task from to Medium.
Addshore updated the task description. (Show Details)
Addshore added a project: MassAction.
Addshore added subscribers: Addshore, Aklapper.
Addshore updated the task description. (Show Details)
Addshore set Security to None.

I will mentor this task for GCI 2015

Change 259338 had a related patch set uploaded (by Mhutti1):
Validates target title in WikiPageTarget

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

Change 259338 merged by jenkins-bot:
Validates target title in WikiPageTarget

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