Last modified: 2008-01-05 19:28:31 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T8670, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6670 - Prevent users from uploading images
Prevent users from uploading images
Status: RESOLVED DUPLICATE of bug 4995
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://sr.wikipedia.org/wiki/%D0%92%D...
:
Depends on: 6711
Blocks:
  Show dependency treegraph
 
Reported: 2006-07-13 13:41 UTC by Filip Maljkovic [Dungodung]
Modified: 2008-01-05 19:28 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Filip Maljkovic [Dungodung] 2006-07-13 13:41:41 UTC
Serbian wikipedia has recently voted a policy regarding uploading images. With
it, there's a "punishment" for people that don't obey to our policy. This
punishment is basically a restriction on uploads. Now, we can delete all the
images that the punished user uploads, but it would be much better if there were
a group/right which could be assigned to the user in question, so the user could
do everything normaly except upload (and reupload, of course). The voting took
place here [1] and the official policy is here [2]. The group would be called
"noupload" or "безслика" in Serbian. Needless to say, only bureaucrats would
have control over this (i.e. assigning the group).

[1] http://sr.wikipedia.org/wiki/Википедија:Гласање/Политика_слања_слика
[2] http://sr.wikipedia.org/wiki/Википедија:Правила_о_коришћењу_слика
Comment 1 Brion Vibber 2006-07-13 18:29:44 UTC
There's no way to make such a group.
Comment 2 Filip Maljkovic [Dungodung] 2006-07-13 19:19:30 UTC
As Brion said over IRC, userrights are additive, so this is not doable with the
current rights system.
Comment 3 Rob Church 2006-07-13 23:44:47 UTC
That doesn't make it a WONTFIX.
Comment 4 Rob Church 2007-06-08 21:44:48 UTC
I can think of a couple of methods for doing this, one a quick hack, and one a bit cleaner.

The hack would be to add a second permission check in UploadForm::execute(), something like:

if( $wgUser->isAllowed( 'noupload' ) )

aborting the process if that's true. We would then avoid assigning that permission in the defaults, and document the abnormal behaviour. However, this creates, well, abnormal behaviour which isn't consistent with the rest of our permissions mechanism.

The second method would be to introduce another block flag to prevent image uploads. This is much cleaner, but requires a schema change and takes a bit longer to implement.
Comment 5 Brion Vibber 2007-06-12 19:18:04 UTC
A block flag probably makes the most sense in general.... However if we keep adding little block flags like this, issues of expiration are raised -- a 'higher' block that's added temporarily would remove the preexisting upload block when it expires.
Comment 6 Filip Maljkovic [Dungodung] 2008-01-05 19:28:31 UTC
Duping to bug 4995, as that one predates this and they deal with the same thing.

Would be good if someone had this on their TODO list :)

*** This bug has been marked as a duplicate of bug 4995 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links