Remove upload rights on wikis where local uploads are disabled.
This patch attempts to work as commonsuploads.dblist, that is: on wikis
where we want to fully disable local uploads, we can add the dbname of the
wiki to uploadsdisabled.dblist. This will be imported to
InitialiseSettings.php via CommonSettings.php and will:
1.- Point the "upload" link on the wiki sidebar to the uploadwizard on
commons, and will display on $lang (the wiki's language or the user-set
2.- Remove from users, autoconfirmed, confirmed and sysops the upload
3.- Disable local uploads for anyone else, even in global groups.