Page MenuHomePhabricator

Add test coverage for Special:MovePage
Closed, ResolvedPublic

Description

From https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1220651

	// TODO: Some workflows not covered by tests:
	// (many of these should have separate cases depending on whether the user can override the warnings)
	// Depending on target page contents:
	// - Moving over a redirect pointing to another page
	// - Moving the talk page over a redirect pointing to another page
	// - Moving over a shared repo file
	// - Moving over an existing page where the deletion fails
	// - Moving over an existing page where the deletion succeeds, but then the move fails
	// Depending on target title:
	// - Moving from subject to talk namespace with talk/subpages
	// - Moving from talk to subject namespace with talk/subpages
	// Depending on related page protection levels:
	// - Moving when the old title is protected against moving
	// - Moving when a subpage of the old title is protected against moving
	// - Moving when the talk page of the old title is protected against moving
	// - Moving when the destination page or its talk page is protected against creation
	// Involving subpages:
	// - Moving with subpages where talk doesn't exist but talk subpages do
	// - Moving with subpages where target's subpages already exist
	// - Moving with subpages where subpage title max length is exceeded

Details

Related Changes in Gerrit: