Page MenuHomePhabricator

Remove "move" tab from Image pages, or improve error message
Closed, ResolvedPublic

Description

Author: artslave

Description:
The interface could be improved on this; is it possible to remove the "move" tab
from the "Image:" namespace? (Unless moving/renaming is going to be allowed in
future versions - ref Bug 709)

If not, the current error message ("This action cannot be performed on this
page.") could be improved -- since it probably shouldn't mention 'pedia-specific
deletion tags and procedures, perhaps something along these lines:

"Media files cannot be moved or renamed. You may upload another copy of the
file with a new name, update any links to the old file, then arrange for the old
file to be deleted."


Version: unspecified
Severity: minor

Details

Reference
bz1970

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:19 PM
bzimport set Reference to bz1970.
bzimport added a subscriber: Unknown Object (MLST).

Fixed in CVS HEAD and REL1_4 and put live on Wikimedia sites.

Title::userCan() was not taking namespace-wide movability into account for move permission checks, so the move tab was
incorrectly shown.