Last modified: 2011-07-22 19:16:28 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 14688 - User isn't allowed to upload, but there is no permission error
User isn't allowed to upload, but there is no permission error
Status: NEW
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
All All
: Low normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2008-06-30 21:20 UTC by Robin Pepermans (SPQRobin)
Modified: 2011-07-22 19:16 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Robin Pepermans (SPQRobin) 2008-06-30 21:20:20 UTC
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.
Comment 1 Robin Pepermans (SPQRobin) 2011-07-22 19:16:28 UTC
See also bug 24707.

Note You need to log in before you can comment on or make changes to this bug.