Last modified: 2007-03-20 17:30:57 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 T5069, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3069 - Disallow uploading of scaled down images on commons
Disallow uploading of scaled down images on commons
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
unspecified
All All
: Normal enhancement with 15 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 3089 3822 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-08-07 20:05 UTC by FoeNyx
Modified: 2007-03-20 17:30 UTC (History)
4 users (show)

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


Attachments

Description FoeNyx 2005-08-07 20:05:00 UTC
When transferring images on commons from other projects a lot of people forget
to upload the fullsize version (and sometimes they ask for deletion of original
afterward leading to lost of the fullsize original image). Moreover, if someone
upload the fullsize version, it can lead to a duplicate entry, thing that should
be avoided in any database.

Mediawiki should be configurable to disallow uploading of this kind images. The
software should then  detect the leading prefix for scaled down image
/[0-9]+?px-/ and warn the user he have to get the fullsize image from the
original wiki.

It may be a simple javascript as temporary warning, but some users would
probably just change the name field to circumevent the protection. Maybe upload
image, compute an hash of it, warn the user, and prevent uploads of this image
for the next 24 hours.
Comment 1 lɛʁi לערי ריינהארט 2005-10-15 16:01:03 UTC
see also
bug 3089: Warning when uploading images like 600px-foo
Comment 2 FoeNyx 2005-10-17 08:01:52 UTC
*** Bug 3089 has been marked as a duplicate of this bug. ***
Comment 3 Brion Vibber 2005-10-29 01:09:26 UTC
*** Bug 3822 has been marked as a duplicate of this bug. ***
Comment 4 Alphax 2005-10-29 02:12:32 UTC
They stuff up categories and such as well.
Comment 5 Schaengel89 2006-01-23 13:52:25 UTC
nice idea
Comment 6 lɛʁi לערי ריינהארט 2006-02-02 16:05:06 UTC
Is this request a request for "Product" 'MediaWiki' and "Component" 'UploadingÄ
or for "Product" 'Wikimedia' and "Component" 'General/Unknown'?
Comment 7 lɛʁi לערי ריינהארט 2006-02-02 16:46:37 UTC
marking as dependend of
Bug 2532: Image filenames in the form 123px-Something.jpg are not reserved
Comment 8 Brion Vibber 2006-02-02 17:47:44 UTC
Not a dependency, that's a dupe.

*** This bug has been marked as a duplicate of 2532 ***
Comment 9 David Benbennick 2006-02-02 18:44:48 UTC
Nobody at bug 2532 has proposed disallowing images named 123px-foo.  That bug is
about the fact that the thumbnail directory migration was done in a buggy way,
so that thumbnails weren't properly generated for images named 123px-foo.  I'm
going to reopen this bug, unless someone wants to address *this actual issue*,
which has to do with human error when transferring images to the Commons, at bug
2532.  (I agree that this bug doesn't depend on bug 2532; the two issues are
independent.)
Comment 10 Brion Vibber 2006-02-02 18:53:42 UTC
The summary on 2532 is wrong then. Ah well, marking it FIXED and this WONTFIX.
Comment 11 David Benbennick 2006-02-02 19:13:20 UTC
Guess what: marking a bug as WONTFIX without any explanation is a great way to
piss people off, and scare away potential contributors.  Is there any reason
behind the WONTFIX declaration?

I've reopened bug 3089, which proposes at least having a *warning* when people
try to upload these thumbnails.  I think disallowing the upload entirely would
be better, though.
Comment 12 Brion Vibber 2006-02-02 19:49:57 UTC
*** Bug 3089 has been marked as a duplicate of this bug. ***
Comment 13 Brion Vibber 2006-02-02 19:51:59 UTC
It doesn't seem to be something that actually needs to be done, since there's no 
longer any technical reason to prevent such uploads.

I've marked 3089 as a duplicate of this seems it seems to be *exactly* the same 
issue stated in slightly different terms.
Comment 14 BLueFiSH.as from de.wp 2006-02-02 23:25:04 UTC
not only commons needs this feature. in de.wp there were on November 18th 213 of
these 123px-images, mostly transferred from en.wp:
http://de.wikipedia.org/w/index.php?title=Benutzer:BLueFiSH.as/Datenbankabfragen/px-bilder&oldid=10917420
I have removed some, but there are still many pictures that need to be cleaned
up, (with a transfer to commons):
http://de.wikipedia.org/w/index.php?title=Benutzer:BLueFiSH.as/Datenbankabfragen/px-bilder&oldid=12002837

It would help really to minimize the effort for the "cleaning brigade" by
disallowing 123px-images!

Comment 15 David Benbennick 2006-02-03 00:05:56 UTC
(In reply to comment #13)
> It doesn't seem to be something that actually needs to be done, since there's no 
> longer any technical reason to prevent such uploads.

It's a people issue, not a technical issue.  As FoeNix wrote in the first comment,
when moving an image to the Commons, "people forget to upload the fullsize version
(and sometimes they ask for deletion of original afterward leading to loss of the
fullsize original image)".  See
http://commons.wikimedia.org/wiki/Category:Images_uploaded_at_reduced_resolution
for example.  All of those images are going to have to be replaced by hand.  If
MediaWiki had prevented their upload in the first place, with a helpful message
about uploading the full size version instead, a lot of effort could have been
saved.

What is needed is a configuration option to allow disabling these thumbnail
uploads.  I know the Commons would want to set that option; German Wikipedia
might too.
Comment 16 Brion Vibber 2006-02-03 00:30:08 UTC
Ah, ok I see. Sorry, my mistake. Reopening.

I would be inclined to keep it a warning rather than a strict disallowing,
but a warning should do the job.
Comment 17 Derrick Coetzee 2007-03-08 04:15:19 UTC
Rather than a special feature for this, why not have an "image blacklist" giving a list of restricted regular expressions, 
which displays a system message when the blacklist is matched? It could pass the matched regexp and the filename as 
parameters to the system message. Then people could easily configure the server to do this and many other upload restriction 
tasks.
Comment 18 Raimond Spekking 2007-03-20 17:30:57 UTC
(In reply to comment #16)

> I would be inclined to keep it a warning rather than a strict disallowing,
> but a warning should do the job.

Implemented as warnings in r20563.

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


Navigation
Links