Soft disable uploads doesn't work at some wikis
Open, Needs TriagePublic

Description

Soft disable uploads doesn't work at some wikis.

Some wikis have no '+' prefix before a dbname in 'groupOverrides' at InitialiseSettings.php :
'bnwikisource', 'newiki', 'pswiki', 'trwikiquote', 'wuuwiki'

It means those wikis are not inherit permissions from 'commonsuploads' set.
For this, those wikis can be use file upload function by autoconfirmed users.

I found this in deploying https://gerrit.wikimedia.org/r/#/c/406256/ (T185720).

Solution

add '+' prefix for each dbnames in 'groupOverrides' at 'InitialiseSettings.php' when dbname have no '+' prefix

Rxy created this task.Jan 29 2018, 3:30 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 29 2018, 3:30 PM
Rxy updated the task description. (Show Details)Jan 29 2018, 4:17 PM
Rxy updated the task description. (Show Details)Jan 29 2018, 4:35 PM
Rxy added a comment.Jan 29 2018, 4:57 PM

I think this affect to T143789 ("2.- Remove from users, autoconfirmed, confirmed and sysops the upload rights." -- https://gerrit.wikimedia.org/r/#/c/405421/).

Rxy updated the task description. (Show Details)Jan 31 2018, 12:25 PM

https://meta.wikimedia.org/wiki/Non-free_content currently states:

  1. Bengali Wikisource "Locally hosted PD-India or PD-Bangladesh media; many books by authors with uncertain death date"
  2. Nothing about Nepali Wikipedia, @biplabanand @Nepaboy @KrishDulal @nirmaldulal @pibhattarai @Ramesh_Bohara
  3. Too for Pashto Wikipedia, @Baloch007
  4. Administrators are "allowed" to local upload on Turkish Wikiquote, ask who?
  5. Unclear policy status about Wuu Wikipedia, @Hercule @Lantern

Are those wikis want to keep local uploads or not? If not, just list them to commonsuploads.dblist and list them as 'xxwiki' => false, this task and 'xxwiki' => 'commons.wikimedia.org/wiki/Special:UploadWizard?uselang=xx', // this task

@Liuxinyu970226, Bengali Wikisource wants to keep local upload.

Liuxinyu970226 added a comment.EditedTue, May 15, 2:52 AM

None of wuuwiki sysops respond on this problem, assume that they're OK with disabling https://wuu.wikipedia.org/wiki/Special:%E4%B8%8A%E4%BC%A0%E6%96%87%E4%BB%B6

@Rxy As bodhisattwa stated above, can you strike "bnwikisource" in your task description?

Liuxinyu970226 added a subscriber: pibhattarai.
Liuxinyu970226 added a subscriber: Ramesh_Bohara.