Page MenuHomePhabricator

Swapping pages
Closed, DeclinedPublicFeature

Description

This feature would:

  • Be available on all MediaWiki-run wikis (including Wikimedia wikis)
  • Require the move permission
  • Require permission to move both parameter pages (page A & page B)
  • Move page A to page B and vice versa at the same time
  • Have the permission id swap
  • Be located at Special:SwapPages
    • Full query string: page1=first page to swap&page2=second page to swap
  • The error message when trying to swap 2 pages with each other: You cannot swap these pages because you do not have permission to move one or both of them. (will be located at MediaWiki:Swapnopermissiontext)
  • Will by default allow all users who can move pages.
  • Default message at top of form (will be located at MediaWiki:Swaptext):
Click below to move two pages to each other's titles and swap their histories. Links to [[$1]] or [[$2]] will ''not'' be changed.
  • Talk pages and subpages will be swapped.
  • User must enter a summary.
  • The swap will be performed with a button whose text is "Swap pages".
  • If there would be an error with moving one of the pages to the other, there would be an error in the swap.

Some people need to move 2 pages to each other's titles. This currently takes 3 page moves.

This should be implemented because it would take less clicks to perform.

Event Timeline

Hi @Faster_than_Thunder, thanks for taking the time to report this and welcome to Wikimedia Phabricator!

This should be implemented because it would take less clicks to perform.

That might be true, however: How often is this needed? What is a specific example of this being needed?
Currently this sounds like a corner case which might not justify additional code complexity and maintenance costs.

This would be needed because on Commons, this feature can be used to move two files to each other's titles quicker.

Pppery subscribed.

I'm declining this per Aklapper's comments above - wikis that need to do this have already developed scripts for it, and I'm sure "Will by default allow all users who can move pages." would not get community consensus.