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.
Description
Details
Related Objects
Event Timeline
Change 306443 had a related patch set uploaded (by MarcoAurelio):
Remove upload rights on wikis where local uploads are disabled.
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.
Change 306443 abandoned by MarcoAurelio:
Remove upload rights on wikis where local uploads are disabled
Change 306443 restored by MarcoAurelio:
Remove upload rights on wikis where local uploads are disabled
Change 306443 abandoned by MarcoAurelio:
Remove upload rights on wikis where local uploads are disabled
Reason:
I'll start over from scratch.
Change 405421 had a related patch set uploaded (by MarcoAurelio; owner: MarcoAurelio):
[operations/mediawiki-config@master] Remove upload rights on wikis where local uploads are disabled
@hashar I can't understand https://integration.wikimedia.org/ci/job/operations-mw-config-composer-hhvm-jessie/10239/console -- could you please explain to me why it is failing? Thanks.
Change 405421 merged by jenkins-bot:
[operations/mediawiki-config@master] Remove upload rights on wikis where local uploads are disabled
Mentioned in SAL (#wikimedia-operations) [2018-01-29T19:39:20Z] <niharika29@tin> Synchronized wmf-config/InitialiseSettings.php: Remove upload rights on wikis where local uploads are disabled T143789 (duration: 00m 56s)
Mentioned in SAL (#wikimedia-operations) [2018-01-29T19:40:24Z] <niharika29@tin> Synchronized wmf-config/CommonSettings.php: Remove upload rights on wikis where local uploads are disabled T143789 (duration: 00m 56s)
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.
It is related with T185898 .
if you want to inherit permissions from tag sets, those should be have '+' prefix before dbname in 'groupOverrides' @ "InitialiseSettings.php".
The previous comments don't explain who or what (task?) exactly this task is stalled on ("If a report is waiting for further input (e.g. from its reporter or a third party) and can currently not be acted on"). Hence resetting task status, as tasks should not be stalled (and then potentially forgotten) for years for unclear reasons.
Change 790403 had a related patch set uploaded (by Stang; author: Stang):
[operations/mediawiki-config@master] Remove upload rights on wikis where local uploads are disabled
Change 790403 abandoned by Stang:
[operations/mediawiki-config@master] Remove upload rights on wikis where local uploads are disabled
Reason:
current db structure changed a lot