FileCheck
From WikiTimeLine
FileCheck is a new MediaWiki extension that automatically detects duplicate files on upload, prevents the upload of an already existing file and prints out the thumbnail, name (and link) to the already uploaded file(s). With the option "Ignore duplicate warning" at the upload form you can overwrite the warning and proceed anyway.
This extension is for MediaWiki 1.11 and 1.12 only! Since MediaWiki 1.13alpha Revision 35609 this feature is included into the MediaWiki core and there is no more need for this extension.
Like MediaWiki, FileCheck is licenced under the GNU General Public License.
See this' MediaWiki Version page for a few more technical information about the FileCheck extension.
Contents |
Try it out
Try it out by downloading this image...
...and change its name to "Ice_Wedges_Earth2.jpg" or something else, afterwards try to upload it. You'll get an error message. Don't forget to create a user profile and/or log in first, since you need to be logged in to upload files. You can also use the Guest account: Type in the username Guest at the login and don't use a password (simply leave the textbox for the password blank).
You can double check by uploading any other file, this will work. Or you can try to upload your own file two times under two different names. This won't work eather.
Renaming
In MediaWiki it is not possible to move a file or rename it. The only possibility is to upload the picture a second time and delete the original. So the only limitation, if you install this extension, in comparison to the original MediaWiki installation is, that you need to delete the file first and afterwards can upload it again under a new name (who ever deletes the file will need the rights to do so of course). So there won't change much.
Download
FileCheck extension in zip format
Install instructions
- Unpack the package into your "extensions" subdirectory of your mediawiki installation.
- Add the following line to the bottom of the LocalSettings.php file in your mediawiki home/main directory:
require_once("$IP/extensions/filecheck/filecheck.php");
Notices
- This will work if you have your images in sub-directories of your images directory OR if you have them all directly in your images directory. It doesn't matter which way your MediaWiki works.
- This extension will work for MediaWiki version 1.11 and 1.12 only. Since MediaWiki 1.13alpha Revision 35609 this feature is included into the MediaWiki core and there is no more need for this extension.
- Current Version: 1.1; Added "ignore warning" option and thumbnails preview of already existing files since version 1.0


