Page MenuHomePhabricator

Prevent page moves of wishlist entities
Closed, ResolvedPublic2 Estimated Story Points

Description

Moving entity pages could cause data corruption. This is already prevented to some degree by the existing manually-edit-wishlist right, but that doesn't hide the "Move" link from the tools menu. Just as with Wikibase entities, these pages should not be moved under any condition.

Acceptance criteria

  • No "Move" link should be visible in the tools menu when viewing an entity page
  • Going to i.e. Special:MovePage/Community_Wishlist/W1 should give the "This page is not movable" error.

Derived Requirement

Ensure that wishlist entity pages cannot be moved under any circumstance. The “Move” action must not appear in the tools menu when viewing a wishlist entity page, and any attempt to access the move interface directly (e.g., via Special:'MovePage') must return a “This page is not movable” error.

Test Result – Beta|Prod

Status: ✅ PASS / ❓Need More Info / ❌ FAIL
Environment: beta/meta.wikimedia.org
OS: macOS Tahoe 26.1
Browser: Chrome 142
Device: MBA
Emulated Device: NA

Test Artifact(s):

Test Steps

Test Case 1: Validate Wishlist Entity Pages Cannot Be Moved

  1. Navigate to a wishlist entity page such as Community_Wishlist/'W1'.
  2. Open the tools menu.
  3. Navigate directly to Special:'MovePage'/Community_Wishlist/W1 using the URL.
  4. ✅❓❌⬜ AC1: Confirm that the “Move” link is not visible in the tools menu.
  5. ✅❓❌⬜ AC2: Confirm that accessing Special:'MovePage'/Community_Wishlist/W26 displays the error message “This page is not movable.”

QA Results - Meta Beta

ACStatusDetails
1T411456#11426530
2T411456#11426530

Event Timeline

Change #1206996 had a related patch set uploaded (by MusikAnimal; author: MusikAnimal):

[mediawiki/extensions/CommunityRequests@master] PermissionHooks: prevent moving entity pages

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

MusikAnimal renamed this task from Prevent all page moves of wishlist entities to Prevent page moves of wishlist entities.Dec 2 2025, 3:42 AM
MusikAnimal changed the task status from Open to In Progress.
MusikAnimal claimed this task.
MusikAnimal set the point value for this task to 2.
HMonroy changed the task status from In Progress to Open.Dec 2 2025, 4:25 AM
HMonroy moved this task from Feedback and Review to QA on the Community-Tech (Sea Lion Squad) board.

Change #1206996 merged by jenkins-bot:

[mediawiki/extensions/CommunityRequests@master] PermissionHooks: prevent moving entity pages

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

@MusikAnimal Confirmed that the “Move” link is not visible in the tools menu and when accessing Special:'MovePage'/Community_Wishlist/W26 displays the error message “This page is not movable, as seen in the videos below. I will mark this as Resolved. Thanks for all your work!

Test Result – Meta Beta

Status: ✅ PASS
Environment: Meta Beta
OS: macOS Tahoe 26.1
Browser: Chrome 142
Device: MBA
Emulated Device: NA

Test Artifact(s):

https://meta.wikimedia.beta.wmcloud.org/wiki/Community_Wishlist/W26

Test Steps

Test Case 1: Validate Wishlist Entity Pages Cannot Be Moved

  1. Navigate to a wishlist entity page such as Community_Wishlist/'W1'.
  2. Open the tools menu.
  3. Navigate directly to Special:'MovePage'/Community_Wishlist/W1 using the URL.
  4. AC1: Confirm that the “Move” link is not visible in the tools menu.
DesktopMobile
  1. AC2: Confirm that accessing Special:'MovePage'/Community_Wishlist/W26 displays the error message “This page is not movable.”

See AC1

GMikesell-WMF updated Other Assignee, removed: GMikesell-WMF.
GMikesell-WMF updated the task description. (Show Details)