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 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

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

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