Concerning the core integration: Well, I don't know how long it will take till its
actually in the core and up on wikipedia. If its faster when integrated into the core it
would be a better choice, of course. But until then it may be a good idea to put the
extension up for preventing duplicate images until a new version of wikipedia with this
feature integrated into the core is running.
Concerning the override: Good idea. I will make an override option. I'll post a
message again here as soon as that's done!
greetings,
Markus
Date: Fri, 30 May 2008 08:56:44 -0700
From: dan_the_man(a)telus.net
To: wikitech-l(a)lists.wikimedia.org
Subject: Re: [Wikitech-l] FileCheck extension probably a good idea for wikipedia and/or
commons
Better be a 3 state (On, Overideable, Off) option... Or actually perhaps
an 'upload-duplicate' permission which is given to users by default.
I occasionally upload duplicate images for valid reasons. Like having a
bunch of logos at Logo-Draft-1.png, Logo-Draft-....png, etc... And say I
chose Logo-Draft-3.png, I might want to upload it to Wiki.png, but want
to be able to override a message about duplicate images.
~Daniel Friesen(Dantman) of:
-The Gaiapedia (
http://gaia.wikia.com)
-Wikia ACG on
Wikia.com (
http://wikia.com/wiki/Wikia_ACG)
-and
Wiki-Tools.com (
http://wiki-tools.com)
Simetrical wrote:
On Thu, May 29, 2008 at 9:31 PM, M Sz
<echalone(a)hotmail.com> wrote:
There's a new extension called FileCheck that
probably would be a good idea for wikipedia and/or wikimedia commons!
I noticed that MediaWiki doesn't check back if a file already exists on uploading. Of
course, it checks if a file with the same name already exists, but not the exact same file
even if its saved under another name. So I have written the FileCheck extension. It uses
the SHA1 hashcode MediaWiki saves with every file (since MediaWiki 1.11) in the database.
The extension checks back if the same hashcode is already in the database, and if so,
ckecks back if the already uploaded file and the new file are one and the same. Since the
SHA1 hashcode has an index in the database, it shouldn't be fast enough. If the
extension finds the same file has already been uploaded, it prevents the uploading and
prints out the name and link to the already existing file, along with an error message.
I think this would be a perfect extension to use on wikipedia and wikimedia commons. The
preventing of duplicate uploads is certainly better than the tagging of and searching for
duplicates like it's currently the case.
I think it would be better to integrate this into core, actually. We
aren't using the img_sha1 index at all right now, and this is exactly
what it was meant to do.
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
_________________________________________________________________
Es ist höchste Zeit dabei zu sein - Holen Sie sich jetzt die neue Generation der Windows
Live Services!