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 Medium.Nov 22 2014, 3:15 AM
bzimport set Reference to bz66164.

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

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