Extension talk:MsUpload

Jump to navigation Jump to search

About this board

This board is for discussion about MsUpload. Don't forget that you can also report issues relating to this extension on Phabricator, at #mediawiki-extensions-msupload. (talkcontribs)

Hello, How to delete multi files uploaded by MsUpload for once? Those files belong to same once MsUpload.

Reply to "How to delete"

When might this qualify as a Stable Extension?

Emikulic (talkcontribs)

I have been wanting to use this for a while, but really try to only use 'stable' extensions as its just to difficult to explain to users why we use something in beta. In the windows based desktop world, this is a common request. Thx.

Samwilson (talkcontribs)

It looks like there's at least one bad bug on the workboard, so probably this should stay as beta till that's fixed. That said, I think quite a few people are running it in production without too many dramas.

Reply to "When might this qualify as a Stable Extension?"

MsUpload not working with Mediawiki 1.35?

Summary by Jiou7

Last version of MsUpload now works

Jiou7 (talkcontribs)

While this extension was working with Mediawiki 1.34, I did a fresh install with the recent Mediawiki 1.35 and the Drag and Drop area is not showing up anymore nor the Upload button. Did anyone managed to install MsUpload with Mediawiki 1.35?

Jiou7 (talkcontribs)

It now works with the last version of MsUpload, modified since my first message.

Upload of the same file should still provide the insert image button

Drivium (talkcontribs)

I was surprise to find those useful buttons for inserting the link / image missing when adding the same image a second time.

They are helpful because you don't have to check the mediawiki syntax to insert files (for some users it's harder to remember them).

Reply to "Upload of the same file should still provide the insert image button"

MsUpload -vs- SimpleBatchUpload?

Revansx (talkcontribs)

Can someone say a few words about the differences between these two extension?

Ernstkm (talkcontribs)
The user interface control for uploading appears in the edit toolbar for every article (assuming you're using Extension:WikiEditor; I cannot speak for the combination of MsUpload + VisualEditor). Once a file is uploaded with MsUpload, you can insert the newly-uploaded file as an inline image, or as a link to the image, into the article you're currently editing.
You must visit the page "Special:BatchUpload" on your wiki to use it, or use the parser function {{#batchupload:}} to add a batch upload button to any wiki article. In both cases, it is literally just one button, with the ability to multiple upload files and little else. It will display the uploaded filename and that's it; you have to construct your own Image: link from that.
Reply to "MsUpload -vs- SimpleBatchUpload?"

How do I upload a screenshot of the extension... to the Extension:MsUpload page

Summary by Ernstkm

Apologies, Special:Upload or some other part of the site gave me the hint to create a request for the "uploader" right at Project:Requests, and I have done that.

Ernstkm (talkcontribs)

I understand how to upload images to a MediaWiki instance—under normal circumstances.

However, I don't have permission to use Special:Upload on this wiki, and Commons specifically says that "fair use" images (including the example of screenshots) will be "deleted on sight."

I just (I hope) improved the section about using Extension:PdfHandler to be able to insert PDF thumbnails directly into an article with MsUpload, and I have a screenshot to demonstrate the end result (Imgur link).

Could someone advise me on the appropriate process for this?

Can this work with the Visual Editor?

Thedonquixotic (talkcontribs)

The wikieditor is not bad but I prefer using the VisualEditor. Is it possible to use this extension in conjunction with it?

Sophivorus (talkcontribs)

Not really, and there're no plans for it, for now.

Thedonquixotic (talkcontribs)

@SophivorusSeems it would be unnecessary as the functionality is in Visual Editor already according to this ticket: https://phabricator.wikimedia.org/T39932

Though in reality the functionality is not working as intended so I have filed a ticket here: https://phabricator.wikimedia.org/T208631

If you or any other devs on the MsUpload project would have some insight on fixing this issue that would be much appreciated I'm sure. Though I'm pretty clueless on this stuff so maybe it's not something people care about on the visual editor etc

Sophivorus (talkcontribs)

Modifying MsUpload to work with the Visual Editor would require huge changes. It seems to me that the best way forward would be to fix the Visual Editor bug. The first ticket you linked had an amazingly positive response, so don't lose hope on the second one just yet!

Reply to "Can this work with the Visual Editor?"

does not work with mediawiki 1.33

Moscowdreams (talkcontribs)

this program is showing up on special:version but it does not currently show up on the page, any help please?

Sophivorus (talkcontribs)

Is your wiki public? Can you post a link to it?

Miga (talkcontribs)

Hm, same here, MsUpload doesn't show up. howto-things .com

Abhinav paulite (talkcontribs)
Reply to "does not work with mediawiki 1.33"

Remove buttons from WikiEditor

FrugalTPH (talkcontribs)

How can I remove/hide the buttons that MsUpload adds to the WikiEditor?

I note that they seem to be added in via CSS rather than Javascript (I'm able to remove buttons using JS quite easily, but can't work out how to hide these ones added via CSS). :/

I only want to use the dropzone really, and am trying to have as clutter-free UI as possible.

Reply to "Remove buttons from WikiEditor"

Error: Request failed and Error: -200

9 (talkcontribs)


I am using mediawiki 1.24.2 and MsUpload 10

When I drop an image into the drop area I see "Error: Request failed. undefined" Then, when I press "Click here to upload file" I get "Error: -200, Message: HTTP Error., File: bla.png"

I run a wiki farm with a shared code base, so there is some fiddling and rewriting with urls, maybe this is the problem. But, what do these messages actually mean - where can I look?

TIA, Ralf (talkcontribs)

Also seeing the same thing myself. I haven't been able to debug the issue yet, did you uncover anything? (talkcontribs)

I have the same problem. I enabled all kinds of debug and error logging but the upload still fails with a http error 500 with the uploader displaying the above error code. No error is logged, not even some debugging information. I have also replaced Plupload with the most current version without success.

MediaWiki 1.23.6 PHP 5.3.26 (cgi-fcgi) MySQL 5.6.19-67.0-log (talkcontribs)

i have the same problem but when i clicked upload a long error apears . and when i go to upload file page , my file which get error , exists . i use link of my file to insert to my article .

also uninstall extension and update database dont work

what can i do so ?

2804:7F4:3382:5E4A:0:0:0:2 (talkcontribs)

Someone knows how to fix it?

2601:204:E100:67E3:C488:1C8E:B23D:8847 (talkcontribs)

I've found that this error occurs when using MSUpload for users, but not for bureaucrats or administrators. Users have upload permissions and can use the traditional upload process and the one in WikiEditor. I don't know how to fix it, but it's got something to do with a permissions check.

Actiuinformatica (talkcontribs)

MsUpload: REL1_33
MediaWiki: 1.33.0
php_admin_value post_max_size 20M
php_admin_value upload_max_filesize 10M
php_admin_value max_input_time 1200
php_admin_value max_execution_time 1200
'webm' is included to $wgFileExtensions array at LocalSettings.php
$wgEnableUploads = true;
$wgGroupPermissions['user']['upload'] = true;
Uploader user account is member of: bureaucrat,interface-admin,sysop
Just when I select 8MiB file to upload:

Error: Request failed

Anyway I press "Upload this file" and upload begins. When percent inficator it reaches near 99%:

Error -200, HTTP Error., File: MyVideo.webm

Nothing reported at apache_error.log and php_error.log

The main problem for me is lack of details about error, to allow debugging.
I've got different results depending on Internet upload bandwidth and usage. I suspect this may be due to a bad upload stream/packets management by script, because other CMS' uploader scripts aren't giving me this problem with big files. (talkcontribs)

I have exactly the same issue (I had installed the extension today). After dragging a small jpg file to the editor area I get 'Error: Request failed' and after pressing 'Upload this file' I get 'Error -200, HTTP Error., File: 2FactorError1.JPG'. Does anybody know how to resolve this issue? (Uploading the file via the special page is working). (talkcontribs)

This is how I resolved the issue:

- open developer tools in Chrome browser => in log there was an HTTP error with a call to <WIKIROOT>/api.php

- on server add the following lines in LocalSettings.php

error_reporting( -1 );

ini_set( 'display_errors', 1 );

- make a call in browser with URL <WIKIROOT>/api.php => shows error that bcmath for PHP was missing

- installing bcmath on server and restart Apache

- everything fine and Msupload works :-)

Reply to "Error: Request failed and Error: -200"