Extension talk:MultiUpload/LQT Archive 1

Improvements
This extensions seems quite useful. Nice work! A few suggestions for improvements : --Morten Blaabjerg 13:59, 31 January 2007 (UTC)
 * Allow for full customizability & multilingual support - i.e. no text messages in the php file itself - but everything in the database
 * Allow for user to specify how many uploads are needed
 * Allow user to specify the same description/summary for all uploads (checkbox)

Looks nice, but the source seems to be offline at the moment. I would like to see a batch upload via a multi-select box.24.177.55.8 23:42, 20 February 2007 (UTC)

I don't think it works on the latest version of Mediawiki 1.9.3...I get an error (unexpected T_Require_Once) error when requiring it. --66.31.65.129 02:20, 13 April 2007 (UTC)

Guys...stupid question...how do you actually use this extension in a Wiki page ? tried writing  and several other combinations, but they were not interpreted by Wiki (in other words, it didn;t work :p). Can anybody shed some light ? thanks :) --86.121.11.70 00:51, 10 May 2007 (UTC)
 * in the 'search' field enter Special:MultipleUpload .. should work --Dtsig 16:02, 7 June 2007 (UTC)
 * or edit MediaWiki:Sidebar: add . Great extension BTW, thanks to the author! --86.59.60.209 21:51, 18 July 2007 (UTC)

How to replace 'Upload file' with ' Upload files' in the Toolbox menu?
Any suggestions on how to replace 'Upload file' with ' Upload files' in the Toolbox menu? I would like to use MultiUpload by default, but I see no way to edit the toolbox. Thanks.

Michiel (wientjes.org)

This probably isn't the best way, but if you edit LocalSettings.php and add the line: $wgUploadNavigationUrl = '/index.php/Special:MultipleUpload'; That should alter the "Upload file" URL to point at the right special page. If you look in languages/messages/MessagesEn.php you should fine a couple of entries which use the text "Upload file", I think one is for the Toolbox link and the other is for the form button. Changing this text to "Upload files" seems to do the trick. Note that this will also change the text on the button used on the Special:Upload page too.

Adam (www.appendixv.org)

SVN Problems
When trying to d/l, I get: $ svn co http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/MultiUpload svn: PROPFIND request failed on '/viewvc/mediawiki/trunk/extensions/MultiUpload' svn: PROPFIND of '/viewvc/mediawiki/trunk/extensions/MultiUpload': 301 Moved (http://svn.wikimedia.org)


 * You need to change "viewvc" to "svnroot". I know the error is not that helpful, and on some systems the same URL works both for the browser and svn because it gets redirected according to the type of client.86.27.137.201 10:23, 20 October 2007 (UTC)

Upload Files from URL
Does anyone know how easy it would be to retrofit an Upload form like this to accept input in the form of online images or other files (ie, http://example.com/image.jpg)? -Blckdmnd99 17:40, 29 August 2007 (UTC)

Suggested modification
I've modified MultiUpload so that it refers to a wiki message called "MediaWiki:Multiuploadtext", so that the end user can easily modify the text block before the upload fields without touching the actual extension.

Basically, at line 43 of the extension change 'multipleuploadtext' to read:

For examples, see:


 * http://media.battlestarwiki.org/wiki/MediaWiki:Multiuploadtext (for the text)
 * http://media.battlestarwiki.org/wiki/Special:MultipleUpload (for how it looks on the file)

Let me know what everyone's thoughts are. -- Joe Beaudoin Jr. 23:05, 30 August 2007 (UTC)

Does not work on 1.11
Just an FYI, this extension does not work properly on 1.11. You'll just be returned to the Special:MultiUpload page, which repeats itself (i.e. if you try to upload five items, you get five forms, with one item per form). -- Joe Beaudoin Jr. 22:49, 5 October 2007 (UTC)

PHP warnings about allow_call_time_pass_reference
This is a good extension. I found it made PHP5 give a warning on my hosting setup about php allow_call_time_pass_reference. This is a non-fatal warning, so I used ini_set to modify the error reporting and hide the error. I added this to LocalSettings.php: ini_set('error_reporting', E_ERROR); This still reports errors, but hides warnings. --Rob 09:10, 27 October 2007 (UTC)

Same here! Ditto.

=Error: You have requested an invalid special page.= At our site, www.afterwiki.info I have upgraded from mediawiki 1.6 to the latest version (1.11 I believe). When I had done that, the multiple upload extension didn't work anymore. I get the message above, "[you have requested an invalid special page]".

Also it can have something to do with allowed uploads, I disabled uploading .png files and enabled .pdf files.

Anybody got any ideas how to fix this?

Fatal error: Call to undefined function (mw1.9.3)
Fatal error: Call to undefined function wfLoadExtensionMessages in /var/www/mediawiki-1.9.3/extensions/MultiUpload/SpecialMultipleUpload.php on line 37

This error was received once extension was added. Can someone please assist.