On wikis where uploads are fully disabled, Special:ListGroupRights shouldn't show any upload rights on any user group. Instead of doing that wiki by wiki, we can create a disableduploads.dblist and add it to groupOverrides just as commonsuploads does. I'll atempt to achieve this.
I'm ok with this proposal. It would be even nicer if MediaWiki handled this, by "unregistering" the upload-related permissions when upload is disabled: this way, we would also hide any globally-assigned permission.
Reverted. The patch above was reverted as it was not working as expected, in spite of working well in mwdebug1002. Specifically I observed the following failures:
- the upload rights (upload et al.) were still avalaible at Special:ListGroupRights.
- wikis with uploads disabled started suddenly to be able to do local uploads
Not sure if this has to be with any duplicates at commonsuploads.dblist or anything else. I'd like this to be reviewed before trying again.