Page MenuHomePhabricator

User isn't allowed to upload, but there is no permission error
Open, LowPublic

Description

Here are several cases where a user is not allowed to upload, though there is no permission error or something:

If a user (no matter if he's anonymous or registered without permission) is viewing a random unexisting file, he sees "No file by this name exists, you can [upload it]."
Please use a specific system message if the user is not allowed to upload.

If an anonymous user clicks on that link, he sees a specific message that you can customise. But if a registered user is restricted to upload, he will see only the message "This action is restricted to users in the group $1". I tried to use {{#ifeq:{{PAGENAME}}|Upload|information|normal text}} and I tried editing "upload-summary" but that only works when you are allowed to upload. Please make a specific message for this. This is really needed, recently a user on [[incubator:]] was confused of this and asked me how to upload, because it just says it is restricted to bureaucrats.

If a user inserts an unexisting image on a page, he sees a redlink (which goes to the error page I explained above). It would be better if this link also used "&redlink=1" so it won't go to the upload form when you're not allowed.


Version: unspecified
Severity: normal

Details

Reference
bz14688

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:13 PM
bzimport added a project: MediaWiki-Interface.
bzimport set Reference to bz14688.
bzimport added a subscriber: Unknown Object (MLST).
SPQRobin created this task.Jun 30 2008, 9:20 PM

See also bug 24707.

Steinsplitter moved this task from Incoming to Uploading on the Commons board.
Jdforrester-WMF moved this task from Untriaged to Backlog on the Multimedia board.Sep 4 2015, 5:54 PM
Restricted Application added subscribers: Steinsplitter, Matanya, Aklapper. · View Herald TranscriptSep 4 2015, 5:54 PM