Thread:Extension talk:MsUpload/linked file bugfix, other minor tweaks

Thanks for this great extension! I have installed it on a local city wiki and after a few tweaks, it works great. Here's what I did: 'msu-ext_not_allowed' => 'Only following filetypes are allowed:', 'msu-upload_this' => 'Click here for upload this file', 'msu-upload_all' => 'Click here for upload all files',
 * The "insert link" option was outputting ":Datei:FILENAME.jpg" instead of ":File:FILENAME.JPG" (for unaware observers, "Datei" is the "File" in German). All other messages from MsUpload were in English. So I went into /extensions/MsUpload/js/msupload.js and changed ":Datei:" to ":File:".
 * Also in /extensions/MsUpload/js/msupload.js, I changed "Image:" and "Media:" to "File:". Image and Media are pseudo-namespaces, or aliases, for many (most?) wikis, including ours. It worked for us using "Image:" and "Media:", but I thought since File is the namespace we use, I would go ahead and have it output "File:" for consistency.
 * English localization. In /extensions/MsUpload/msupload.i18n.php, I changed the following messages, for better grammar:
 * to:

'msu-ext_not_allowed' => 'Only the following filetypes are allowed:', 'msu-upload_this' => 'Click here to upload this file', 'msu-upload_all' => 'Click here to upload all files', var upload_drop = $(document.createElement("div")).attr("id","upload_drop").attr("class","drop").html('&amp;nbsp;').insertAfter(status_div);
 * Looking at the drag/drop box in the edit page, where it was not labeled, it wasn't clear to me what its purpose was. So I added a message in it. In /extensions/MsUpload/js/msupload.js, I changed this line:
 * to:

var upload_drop = $(document.createElement("div")).attr("id","upload_drop").attr("class","drop").html('drop image here').insertAfter(status_div);
 * I then made the text white by adding "color: #fff;" to the ".drop" element in /extensions/MsUpload/css/msupload.css.

With these changes, I'm very happy with this upload tool. It's a very nice feature. I especially like how it warns when an image has a "DSCN..." filename, and the progress bar for uploading the file. Thank you for making this very useful extension!