Page MenuHomePhabricator

"Title::newFromTitle: $text must be a string" from SpecialMovepage
Closed, ResolvedPublic

Description

MediaWiki::performRequest/SpecialPageFactory::executePath/SpecialPage::run/MovePageForm::execute/Title::newFromText

https://github.com/wikimedia/mediawiki/blob/75c813cc9/includes/specials/SpecialMovepage.php#L66-L78

	$target = !is_null( $par ) ? $par : $request->getVal( 'target' );
	..
	$oldTitleText = $request->getVal( 'wpOldTitle', $target );
	$this->oldTitle = Title::newFromText( $oldTitleText );

Event Timeline

Krinkle created this task.Jul 6 2015, 1:13 PM
Krinkle raised the priority of this task from to Medium.
Krinkle updated the task description. (Show Details)
Krinkle added subscribers: Aklapper, MarkAHershberger.

Change 223159 had a related patch set uploaded (by Alex Monk):
MovePage: Don't try to pass non-strings into Title::newFromText

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

Krenair claimed this task.Jul 6 2015, 8:33 PM

Change 223159 merged by jenkins-bot:
MovePage: Don't try to pass non-strings into Title::newFromText

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

Krenair closed this task as Resolved.Jul 9 2015, 4:43 PM