Extension talk:UploadWizard/Archive

Mediawiki.Uri Error
I get the following error in Chrome: Uncaught Error: Unknown dependency: mediawiki.Uri recurse     load.php:3965 recurse     load.php:3979 resolve     load.php:4000 resolve     load.php:3989 loader.load load.php:4307 (anonymous function) I think that it is related to the mediawiki.Uri.js file that is supposed to be inside the Resources folder of my wiki. However, I'm using the latest 1.17 version and it still won't work. I can't find the older (legacy) version of this extension. Any ideas?? Thanks! --Fladei 23:16, 15 November 2011 (UTC)

EDIT: You didn't use version 1.17 for the extension I am guessing. If you select to download the version for 1.18, it will give you that error.

Javascript Error
I get the following error in Firefox 5.0: Error: Unknown dependency: mw.libs.jpegmeta Source File: https://wiki.xxxxxxx.com/load.php?debug=false&lang=en&modules=jquery%7Cmediawiki&only=scripts&skin=vector&version=20110608T121000Z Line: 105 No PHP errors accompany this.

Miken32 00:00, 9 July 2011 (UTC)

Error
Promising extension. I get the following error:Notice: Undefined index: texttop in C:\Inetpub\wwwroot\mediawiki\includes\specials\SpecialUpload.php on line 712 Notice: Undefined index: textaftersummary in C:\Inetpub\wwwroot\mediawiki\includes\specials\SpecialUpload.php on line 713; --Phil B Roberts 20:43, 5 August 2010 (UTC)

- Really great extension but when am using it its giving me the following error Fatal error: Class 'UploadWizardMessages' not found in D:\xampp\xampp\htdocs\home\extensions\UploadWizard\SpecialUploadWizard.php on line 106

and read me error is nowhere to be found, not even in trunk. Help is highly appreciated.

No instructions
Why no instructions on how to install this? Pretty ridiculous if you expect everyone to know how to automatically install this. I uploaded it, tried to add it to my localsettings and wham, nothing.


 * Help???


 * Yes I have had the same problem. I follow meticulously the several steps but nothing happen when I try on the wiki. Is something missing in the install tutorial ? Workworkwork 21:45, 14 August 2011 (UTC)

Multi-upload
Why do I still have to pick each file manually? Other upload forms allow you to select more than 1 file in the "browsing window". Or even drag'n'drop. If Flickr and Gmail use such features, it can't be user unfriendly. --Subfader 19:26, 2 April 2011 (UTC)

Upload Wizard stops while uploading
Hi, UploadWizard starts uploading and files are saved in the image directory - but then it stops at the second step, see image. Tested in MW 1.16 and MW 1.17.



I get the following error message:

mw.UploadWizardUpload::getThumbnail> thumbnail error or missing information

What did I wrong? Thanks for support, --Filburt 15:18, 8 April 2011 (UTC)
 * Too bad this is only for 1.17 and above. Bennylin 15:02, 7 July 2011 (UTC)


 * Running this on WikiQueer, left it enabled but having this problem as well. Sometimes it gets stuck loading the initial page and then usually freezes the browser window.  --Varnent 05:24, 2 September 2011 (UTC)

I was also able to recreate this on mediawiki 1.17.1.

In internet explorer 9, it hangs at this screen: C:\fakepath\ColorPrinterFlyer.pdf Getting file information and previews...

In FireFox 9, it hangs with this message: ColorPrinterFlyer.pdf Getting file information and previews..

Uploads fail, "readapidenied"
Whenever I try to upload a file (or multiple files), I get the same error every time:

The server returned an error we did not understand: "readapidenied"

Additionally (not sure if this is related), when I select a file to upload, its path is displayed as " ", no matter when on my disk the file actually lies.

--Dvd3141 05:50, 26 July 2011 (UTC)

I can second this Uploads fail but not for all images.

Adding categories with colons in them
I still get a javascript error message when I try to add categories during uploadwizard if the category name has a colon ":" in it. --99of9 01:33, 29 September 2011 (UTC)

Optional configuration values
I have installed it at my own wiki website 1.17 and can confirm it works as expected. However, i have a few suggestions. I think it would be better to add additional configuration settings to disable/enable the various pages in the wizard. For example the first learn page, although informative, it's a bit too much for many people. Long, English and the text cannot be modified and for small website it may not be necessary. In addition as another user here commented it should be possible to add multiple files without having to add one at a time. Other than that thank you for this extension, we really needed some good user interface for many parts of mediawiki to make it attractive and inviting for the regular user and this is one step forward. -- User:Wikimanz


 * Tutorial is translated, see e.g. commons:File:Licensing tutorial de.svg, and an option skipTutorial exists, e.g. as in (undocumented, check UploadWizard.config.php for further options):

$wgUploadWizardConfig = array( 'autoCategory' => 'Uploaded with UploadWizard', 'feedbackPage' => 'UploadWizard Feedback', 'altUploadForm' => 'Special:Upload', 'fallbackToAltUploadForm' => false, # true -> "-...been disabled due to temporary technical problems..." 'enableMultiFileSelect' => true, 'maxSimultaneousConnections' => 5, // default 3. Max number of simultaneous upload requests 'skipTutorial' => true, 	// Set skipTutorial to true to always skip tutorial step );
 * G.Hagedorn 22:13, 19 November 2011 (UTC)

Problem with the extension using Mediawiki in French
I had a problem using the extension with Mediawiki 1.17 in French. Whenever I tried to upload content, I clicked the the button to select a file, the dialog popped up but when I clicked "Open" it did not add files to the list. I looked at the Javascript error log and found out it seemed to be a problem with the namespace in which image files are added ("file" in English, but "fichier" in French) which seemed to be why I had this bug.

I then corrected 3 lines in combined.min.js (I could have done it in combine.js but I do not know how to minify it again). I changed the following lines: 10536 this.title=new mw.Title(mw.UploadWizardUtil.getBasename(localFilename),'fichier'); 10945 _this.upload.title=new mw.Title(mw.UploadWizardUtil.getBasename(path),'fichier'); 11397 var title=new mw.Title(result.title).setNamespace('fichier').getNameText;

I hope this can help someone, there must be a way to correct this problem but for now I managed to make the extension work. —The preceding unsigned comment was added by 142.213.192.126 (talk • contribs) 15:57, Nov 24, 2011 (UTC)

Error
When I go to Special:UploadCampaigns on my wiki I keep getting this error. Last attempted database query: (SQL query hidden) Function: SpecialUploadCampaigns::displayUploadCamaigns MySQL error: 1146: Table 'wikitux.mw_uw_campaigns' doesn't exist

The wiki version is 1.18.0 with MySQL version 5.0.91-log with PHP Version 5.2.17 (cgi-fcgi). I tried to do $php maintenance/update.php to see if it would add the table or update it. But it didn't. --Clarkcj12 01:17, 7 February 2012 (UTC)


 * Same error for me with wiki version 1.18.1, MySQL version 5.5.16-log and PHP version 5.3.8 (apache2handler).
 * --JmJarry 00:58, 14 March 2012 (UTC)


 * Works in master. The tables are created by running update.php --Nikerabbit (talk) 06:24, 22 April 2012 (UTC)

Generality issues
I've been seeking to add batch upload functionality to my MediaWiki installation, and came across this extension today. While it works after a fashion, it seems too specialized for use in the Wikimedia Commons. Here are some first impressions:


 * Upon every use, it displays a 'Learn' page suitable for new Wikimedia Commons users or small children, requiring the user to scroll down and click 'Next' to begin.
 * This 'Next' button is sometimes faded out and unusable for reasons that are not clear. This seems to include any time the 'Upload more files' button is used to restart the wizard.
 * Navigation is possible only by buttons at the bottom of the page, which never include 'Back', and not by the progress indicator at the top.
 * The 'Learn' page displays a large, red error banner if Instant Commons is not enabled.
 * The 'Upload' page has its own extension-checking mechanism, ignoring settings in  that are specifically designed for that purpose.
 * The 'Upload' page hangs indefinitely on any attempt to upload a file that already exists or was previously deleted, and does not give the opportunity to change the file name to avoid a collision.
 * The 'Release rights' and 'Describe' pages require licensing and description metadata for each file, even when the wiki is configured to not require that information.
 * The 'Go to wiki home page' link at the end of the 'Use' page does not link to the wiki home page, but to the top level of the web domain, which in my case is a 403 error.

The version is UploadWizard-MW1.17-r85033.

Gblandst 03:18, 15 February 2012 (UTC)

Unable to upload
First, after complete all the forms, it said « ». Then, after retry (as .jpeg), it denies to allow PD-100 as licence (but preview works fine). So, I must use the old upload page. Eloy (talk) 13:09, 29 April 2012 (UTC)

Upload files from blacklist
Hi

In my wiki I've got disabled BlackList file extensions by code:

I can successfully upload .exe file by the old page special:upload, but by the new special:uploadwizard I can't. My wiki shown me error about restricted file extension .exe.

If I uncomment string with $wgFileExtensions, then all will be fine and .exe file will be uploaded. So it's a problem or by design that extension ignored $wgFileBlacklist = array_diff ?

MediaWiki	1.19.1 PHP	5.4.4 (cgi-fcgi) MySQL	5.5.12 Upload Wizard (1.2 alpha)

Aev (talk)

Video-Upload
Why is it not possible to upload Videos (e.g. *.mp4) ? An unknown error when uploading the files... Any ideas ? thx --hollosch (talk) 19:53, 4 July 2012 (UTC)

Javascript error in Mediawiki 1.19.1
I've installed this extension but when I navigate to SpecialPage:UploadWizard I get this screen

I see no errors in my Apache access or error logs, and in the Javascript console this is all I see

All necessary values are set in LocalSettings.php and I have this options hash

Uploads fail, "Unknown error - http"
Whenever I try to upload a file (or multiple files), I get the same error every time:

Unknown error - "http"

Solution

Add following lines to your $wgEnableAPI = true; $wgEnableWriteAPI = true; --ZigzagGIS (talk) 07:13, 24 August 2012 (UTC)

PHP Fatal Error
I am getting this error when trying to access Upload Wizard in MediaWiki 1.19.2 PHP Fatal error: Call to undefined method Language::fetchLanguageNames in /var/www/mediawiki-1.19.2/extensions/UploadWizard/UploadWizard.config.php on line 21

Product	Version

MediaWiki	1.19.2

PHP	5.3.8 (apache2handler)

MySQL	5.1.59-log

Upload Wizard (Version 1.3)

Solution

 * edit UploadWizard.config.php file
 * go to line 21
 * replace it with this : $baseLangs = Language::getLanguageNames;

passing parameters from other projects
I am looking at adding an upload button to Image Requested template on English Wikipedia, see en:Template:Image requested/sandbox. Need a little advice on passing parameters through for description and categories. First what is the best way to get square brackets around the description for a link and secondly what is the delimiter when wanting more than one category?--Traveler100 (talk) 15:20, 1 October 2012 (UTC)

no upload if file site exists
i.e. http://simpsonspedia.net/index.php?title=Datei:KABF02_001.jpg i'd like to upload the file KABF02_001.jpg but UploadWizard tell me "a file with this name exists". no upload

same problem, if a file was deleted. i couldn't upload a file mit the same name. "it was a file exist, but this file was deleted" i.e. http://simpsonspedia.net/index.php?title=Datei:Pet_Shop_PABF16.jpg

i need a possibility to upload files in both cases.

an other topic: $wgUploadWizardConfig['autoCategories'] = 'Framegrabs'; if i use this variable than i get a category "F", a category "R", a category "A", a category "M", a category "E", a category "G", a category "B",and a category "S" but i need an category named "Framegrabs"

best regard --s.net 02:24, 19 November 2012 (UTC)

Next button doesn't work
I've seen that several people have this same problem; but no one seems to have gotten an answer. whenever i try to upload an image to my wiki the "next" button on the "describe" page does nothing. it just turns grey and the page does not load or anything. I am currently on firefox 12.0, however i have tried multiple browsers, i've tried updating my media wiki installation to 1.20.1. i am using uploadwizard 1.3 any response would be greatly appreciated.

-J

Trying to locate file
I am trying to locate the file with File:Licensing tutorial en.svg, I'd like to replace it with a version I adapted for my project. I've ran a search with my FTP client and came up dry. Can someone point me to that location ? thanx,  Mlpearc  ( powwow ) 17:18, 8 December 2012 (UTC)


 * I had the same question, here is the solution: First, you need to upload the file in your Wiki via Special:Upload or Special:UploadWizard. Then you need to set 'tutorialTemplate' => 'Licensing_tutorial_$1.svg' in your LocalSettings.php with your file name and the other settings in $wgUploadWizardConfig = array;
 * The $1 in the file name is the language code - i.e. en, de... If you use a svg-file you need to enable SVG support for your Wiki, see Manual:Image_administration --Filburt (talk) 14:17, 14 December 2012 (UTC)


 * Thank you Filburt, I'll start configuring that now, I already have the new file uploaded, am a little surprised to see it's a configuration in LS.php, I was thinking I needed to change the filename in a directory within the UploadWizard extension. Again thanx. P.S. works great !  Mlpearc  (powwow ) 20:02, 14 December 2012 (UTC)

Older versions?
I am trying to download the extension for the 1.17 Mediawiki. However, I cannot see it anywhere. Do you happen to know where might I find it? --Fladei (talk) 23:05, 17 January 2013 (UTC)