Extension talk:UploadWizard/Archive

Unknown Error: "unknown"
When trying to upload an image, I always get the error Unknown error: "unknown". Is there a way to get more information about reasons for this error? Using MediaWiki 1.20.2 and PHP 5.4.9 on IIS. Thank you!

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)

Same issue.. Install ImageMagick? ok where? and am I'm then supposed to install commandline features on my server? Wonder what my ISP think of that.

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..

Upload Wizard gets stucked
Hi! I could install Upload Wizard, so whenever I go to Special:UploadWizard I can seee the Wikimedia Commons tutorial and select a file to upload but when I choose the file Upload Wizard gets stuck in the process of uploading and after waiting a while the file doesn't upload but I don't get any error message. I am using Mediawiki 1.20. Please help! Thanks

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)
 * As stated in 46242 I would love to have a parameter for the article the picture is meant for. Did you find a solution for that as well? --Flominator (talk) 15:25, 28 June 2013 (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)

How to customize?
We would like to make the "description" and "title" non-mandatory. Is there a setting available in LocalSettings or through a MediaWiki: wikipage?

Also, the list of licenses for the normal 1-file upload form (= MediaWiki:Licenses) is being ignored. Is there a second setting for the UploadWizard, or is the selection of available licenses hard-coded? --Vigilius (talk) 14:20, 31 January 2013 (UTC)


 * I'm having a similar problem, I am creating a semi-private wiki and I need to use a custom License attribution, but can't find how to do it. Any suggestions?


 * Same issue, I have created a bug report here. Kelson (talk) 16:05, 5 February 2013 (UTC)

UW stuck on "Uploading...", never returns
I'm having a problem with UploadWizard and I can't figure out what's wrong. UW used to work gloriously, but then it just stopped.

When I upload a file, the thumbnail displays well. Then it just displays the "Uploading..." status and it never proceeds. The file appears in the stash, but never as an actual file.

I've tried: - removing stash files - trying different file formats - different users - new files, old files.

I enabled various debugging and am posting the log below. The error most concerning is:

Class PEAR_Error not found; skipped loading

Any ideas?

UploadStash::stashFile stashing file at '/var/tmp/phpqfkyMN' MimeMagic::guessMimeType: WARNING: use of the $ext parameter is deprecated. Use improveTypeFromExtension($mime, $ext) instead. MimeMagic::doGuessMimeType: analyzing head and tail of /var/tmp/phpqfkyMN for magic numbers. MimeMagic::doGuessMimeType: getimagesize detected /var/tmp/phpqfkyMN as image/png MimeMagic::guessMimeType: guessed mime type of /var/tmp/phpqfkyMN: image/png UploadStash::stashFile key for '/var/tmp/phpqfkyMN.png': 11ct563cos90.m93qmf.6.png UploadStash::stashFile inserting mwrepo://local/temp/2/26/20130412173310!phpqfkyMN.png under 11ct563cos90.m93qmf.6.png DatabaseBase::query: Writes done: INSERT INTO `developingottawauploadstash` (us_id,us_user,us_key,us_orig_path,us_path,us_size,us_sha1,us_mime,us_media_type,us_image_width,us_image_height,us_image_bits,us_source_type,us_timestamp,us_status) VALUES (NULL,'6','11ct563cos90.m93qmf.6.png','/var/tmp/phpqfkyMN.png','mwrepo://local/temp/2/26/20130412173310!phpqfkyMN.png','4368','p039x1u4phm2dfdf3comjz7fsrx1dvh','image/png','BITMAP','231','92','8','file','20130412173310','finished') Query develpd7_developingottawa (22) (slave): INSERT /* UploadStash::stashFile Another user */ INTO `developingottawauploadstash` (us_id,us_user,us_key,us_orig_path,us_path,us_size,us_sha1,us_mime,us_media_type,us_image_width,us_image_height,us_image_bits,us_source_type,us_timestamp,us_status) VALUES (NULL,'6','11ct563cos90.m93qmf.6.png','/var/tmp/phpqfkyMN.png','mwrepo://local/temp/2/26/20130412173310!phpqfkyMN.png','4368','p039x1u4phm2dfdf3comjz7fsrx1dvh','image/png','BITMAP','231','92','8','file','20130412173310','finished') FSFile::getProps: Getting file info for /home3/develpd7/public_html/images/temp/2/26/20130412173310!phpqfkyMN.png MimeMagic::doGuessMimeType: analyzing head and tail of /home3/develpd7/public_html/images/temp/2/26/20130412173310!phpqfkyMN.png for magic numbers. MimeMagic::doGuessMimeType: getimagesize detected /home3/develpd7/public_html/images/temp/2/26/20130412173310!phpqfkyMN.png as image/png MimeMagic::guessMimeType: guessed mime type of /home3/develpd7/public_html/images/temp/2/26/20130412173310!phpqfkyMN.png: image/png MimeMagic::improveTypeFromExtension: improved mime type for .png: image/png FSFile::getProps: /home3/develpd7/public_html/images/temp/2/26/20130412173310!phpqfkyMN.png loaded, 4368 bytes, image/png. FSFile::getProps: Getting file info for /home3/develpd7/public_html/images/temp/2/26/20130412173310!phpqfkyMN.png MimeMagic::doGuessMimeType: analyzing head and tail of /home3/develpd7/public_html/images/temp/2/26/20130412173310!phpqfkyMN.png for magic numbers. MimeMagic::doGuessMimeType: getimagesize detected /home3/develpd7/public_html/images/temp/2/26/20130412173310!phpqfkyMN.png as image/png MimeMagic::guessMimeType: guessed mime type of /home3/develpd7/public_html/images/temp/2/26/20130412173310!phpqfkyMN.png: image/png MimeMagic::improveTypeFromExtension: improved mime type for .png: image/png FSFile::getProps: /home3/develpd7/public_html/images/temp/2/26/20130412173310!phpqfkyMN.png loaded, 4368 bytes, image/png. MimeMagic::guessMimeType: WARNING: use of the $ext parameter is deprecated. Use improveTypeFromExtension($mime, $ext) instead. MimeMagic::doGuessMimeType: analyzing head and tail of /home3/develpd7/public_html/images/temp/2/26/20130412173310!phpqfkyMN.png for magic numbers. MimeMagic::doGuessMimeType: getimagesize detected /home3/develpd7/public_html/images/temp/2/26/20130412173310!phpqfkyMN.png as image/png MimeMagic::guessMimeType: guessed mime type of /home3/develpd7/public_html/images/temp/2/26/20130412173310!phpqfkyMN.png: image/png Query develpd7_developingottawa (23) (slave): SELECT /* LCStore_DB::get Another user */ lc_value  FROM `developingottawal10n_cache`  WHERE lc_lang = 'en' AND lc_key = 'specialPageAliases'  LIMIT 1 Class PEAR_Error not found; skipped loading Query develpd7_developingottawa (24) (slave): COMMIT

I filed this as [].

Alexthepuffin (talk) 17:42, 12 April 2013 (UTC)

License Templates
How do I set licensing templates ? Anyone can help me ?


 * Do you mean the templates used for defining the types of license applied to a file? Such as those in this category? --Ckoerner (talk) 15:43, 31 July 2013 (UTC)

Uploading Duplicate or Revised Files
Users on my wiki are updating files offline and would like to update the 'wiki version' of this file after their done. This normally works when you go through the built in upload tool, but I've tried to use Upload Wizard for the same function and it gives me an error message: "There is another file already on the site with the same content." Is there a way to allow duplicate or revised files to be uploaded using this Upload Wizard? Thanks in advance! --Jhunter13 (talk) 22:24, 13 May 2013 (UTC)

Page stuck on loading image
I've installed the files and changed the LocalSettings file to enable the UploadWizard but when I go to the page it doesn't load properly. All I get is the 24px-spinner-0645ad.gif image file that indicates that it is trying to load the wizard but nothing happens. I'm using WikiMedia 1.21. Anybody else have this problem? Or even better a solution to the problem --Tenzel Kim (talk) 10:19, 15 July 2013 (UTC)

My wiki is the same after upgrading to 1.21?

Same Issue here. Ltickett (talk)

Same issue with a fresh install of 1.21 AndyDenn (talk)

The extensions javascript assumes that another extension is active that is not active by default, so you need to enable Extension:TitleBlacklist to get it to work.

I've enabled TitleBlacklist, but I still get the same problem.

Incorrect documentation regarding configuration arguments
Adding the following variable of 'skipTutorial' to LocalSettings.php does not actually skip the tutorial. This is per the documentation.

$wgUploadWizardConfig = array(       'skipTutorial' => true );

Modifying UploadWizard.config.php directly (which is bad) on line 106 ('skip' => true,) does remove the tutorial.

It appears that the method to configure settings is different in the actual code and inconsistent with the documentation. Can anyone clarify or help provide the correct syntax to set options?

Download Link Doesnt Exist
I am unable to download this extension. When I click on the Download link, it says extension doesnt exist. So is this extension abandoned? What is the status of this? Maybe the page needs to be updated if this is no longer available.

Page stuck on loading image
I installed the extension and when I go to Special:UploadWizard the page keeps loading forever, all I can see is a spinner. I'm using MW 1.21 Any solution for this? Thanks


 * Hello IsraelDefenseForces. It is best to put new questions on the bottom of the page. On your question, you are basically telling everyone that you are not able to get it to work on MW 1.21. There are a lot of set-up possibilities with this extension you should at least let everyone know how you configured the extension. Did you test this on a clean MW install with only this extension activated? A small note, your username seems a little odd to me. Are you suggesting the Israeli defense forces are using MediaWiki now? :) --Jongfeli (talk) 11:57, 1 November 2013 (UTC)

Hi Jongfeli, thanks for the answer. I tried disabling all the others extension I have and it still doesn't work. I tried setting up a clean MW to test and it didn't work either. Concerning the extension, I just downloaded it, put the folder UploadWizard in extensions and added these following lines in Localsettings :

I've read in the discussion page that other users report the same problem but no solution has been found yet! If you can help me, thank you. NB : concerning the nickname I wasn't very imaginative so I took the first thing I saw in my browser ;)

Thanks! User:IsraelDefenseForces