Page MenuHomePhabricator

Do not show "Contribute an Image", if wgEnableUploads = false
Closed, ResolvedPublic

Description

On Special:Uploads the "Contribute an Image" button is shown every time, but has to be invisble if $wgEnableUploads is false, a try to upload a file will fail.


Version: unspecified
Severity: normal

Details

Reference
bz66164

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 3:15 AM
bzimport set Reference to bz66164.
Florian created this task.Jun 5 2014, 7:21 AM
MaxSem added a comment.Jun 5 2014, 7:26 AM

Note that this functionality should still work if local uploads are disabled but
there's a shared repository configured.

You're right, thx :)

Change 137541 had a related patch set uploaded by Florianschmidtwelzow:
Respect Upload Settings when show upload buttons

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

Change 137541 merged by jenkins-bot:
Respect Upload Settings on Special:Uploads

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