Page MenuHomePhabricator

Disable local uploads on cs.wikiversity
Closed, ResolvedPublic

Description

Please set

$wgUploadNavigationUrl = array(

'cswikiversity' => 'http://commons.wikimedia.org/wiki/Special:Upload?uselang=cs',

)

$groupOverrides = array(

'cswikibooks' => array(
  'user'          => array( 'upload' => false, ),
  'autoconfirmed' => array( 'upload' => false, ),
)

)

Thanks


Version: unspecified
Severity: enhancement

Details

Reference
bz22306

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:58 PM
bzimport set Reference to bz22306.

Damned copypaste, shame on me, sorry. Forgot to replace second project name.

$wgUploadNavigationUrl = array(

'cswikiversity' =>

'http://commons.wikimedia.org/wiki/Special:Upload?uselang=cs',

)

$groupOverrides = array(

'cswikiversity' => array(
  'user'          => array( 'upload' => false, ),
  'autoconfirmed' => array( 'upload' => false, ),
)

)

Hey Danny,

Sorry to point this out, but I do not see a link for any kind of consensus for this request. Any link you can provide please?

Danny,

Per our conversation in IRC, I have gone ahead and made the above change request. Please keep in mind the defaults for user are upload disabled, and autoconfirmed its enabled. So the one does indeed need to be specified, but the fact that the users cannot upload locally makes those group permissions invalid, as it overrides those settings.

I notice it looks like most the CS projects are identical in this respect. I just wanted to make sure you were aware, in that if future features require default permission sets, the cs projects are over-riding them even when not exactly required. (No big deal, just FYI.)

The change is now live on the project.