Jump to content

Extension talk:UploadWizard/Archive

From mediawiki.org

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)Reply


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)Reply

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)Reply



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)Reply

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)Reply


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)Reply

Too bad this is only for 1.17 and above. Bennylin 15:02, 7 July 2011 (UTC)Reply
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)Reply

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 "C:\fakepath\foo.jpg", no matter when on my disk the file actually lies.

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


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)Reply

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)Reply

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 (talkcontribs) 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)Reply

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)Reply


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

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 LocalSettings.php 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)Reply

Unable to upload

First try.
Second try

First, after complete all the forms, it said «Boletín_Oficial_de_la_República_Argentina_(01/07/1893).gif [api-error-unknownerror]». 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.

Header text Header text Header text
Example Example Example
Example Example Example
Example Example Example

Upload files from blacklist

Hi

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

$wgStrictFileExtensions = false;
$wgCheckFil--~~~~eExtensions = false;
$wgVerifyMimeType=false;
#$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'ppt', 'pptx', 'pdf', 'psd', 'mp3', 'xls', 'xlsx', 'swf', 'doc','docx', 'odt', 'odc', 'odp', 'odg', 'mpp', 'exe');
$wgFileBlacklist = array_diff( $wgFileBlacklist, array( 'html', 'htm', 'js', 'jsb', 'mhtml', 'mht', 'php', 'phtml', 'php3', 'php4', 'php5', 'phps', 'shtml', 'jhtml', 'pl', 'py', 'cgi', 'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl' ) );

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)Reply

Javascript error in Mediawiki 1.19.1

I've installed this extension but when I navigate to SpecialPage:UploadWizard I get this screen

"This page has been disabled due to temporary technical problems. In the meantime try the standard upload form."

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

mw.loader::execute> Exception thrown by ext.uploadWizard: Cannot read property 'length' of undefined      load.php:148

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

$wgUploadWizardConfig = array(
        'debug'                         => true,        
        'autoCategory'                  => 'Uploads',
        'feedbackPage'                  => 'FeedbackUploads',
        'altUploadForm'                 => 'Special:Upload',        
        'fallbackToAltUploadForm'       => true,
        'enableFormData'                => false,  # Should FileAPI uploads be used on supported browsers?
        'enableMultiFileSelect'         => false,
);


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

$wgEnableAPI = true;
$wgEnableWriteAPI = true;

--ZigzagGIS (talk) 07:13, 24 August 2012 (UTC)Reply

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)

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)Reply