Topic on Talk:VisualEditor

upload tab missing from insert media dialog

12
Python152 (talkcontribs)

I just configured visual editor R1.26 for Mediawiki 1.26. It appears all other functions work as expected except the insert media, where the media dialog doesn't have a "upload" tab. Also, I had expected drag and drop an image will bring up the "media dialog" as well, but it doesn't seem to work either. As far as I can tell, this should have worked as of this release, am I missing something? how do I go about diagnosing it? thx

Andreufsc (talkcontribs)

I'm having the exact same problem with Visual Editor. I'm using Mediawiki 1.24.1. The upload box is not showing in the "Insert media" dialog, and the search doesn't work either. Any idea on how to fix this? Thanks

Lestieve (talkcontribs)

I have the same problem too. I can understand why you don't have both of you the upload tab : I think your VisualEditor version is too old. Indeed, Upload tab appears after R1.26 version. You can verify this looking for "upload" word in the file VisualEditor\modules\ve-mw\ui\dialogs\ve.ui.MWMediaDialog.js (in github : https://github.com/wikimedia/mediawiki-extensions-VisualEditor/blob/master/modules/ve-mw/ui/dialogs/ve.ui.MWMediaDialog.js). If you don't find any upload reference is because you don't have the upload tab...

I've got the master version where I find upload tab reference in the same file. But I can't use it. Does Anyone know how to activate it ?

Thanks

Whatamidoing (WMF) (talkcontribs)

@Lestieve, thanks for your helpful reply.

@Python152 @Andreufsc, I'm not a dev, and most of them are out on holiday. In the past, most problems about "X isn't working, and it should" are resolved by making sure that the VisualEditor version and the MediaWiki version match. If I've understood this correctly, then I think that Python has already done this step. Beyond that, I'm not sure that Upload is an option for wikis that don't share a login system with WMF wikis.

Alex Monk (WMF) (talkcontribs)

I don't think this feature has made it into a proper REL1_x branch in VisualEditor yet. I imagine it'll be in REL1_27.

@Lestieve, can you clarify "can't use it"? Does the tab not appear, does it not let you switch to that tab, or does it just fail to upload anything?

Lestieve (talkcontribs)

Thanks for your replies, I was on holidays too :)

"can't use it" : I mean that in "Media settings" window, I can't see the "Search" and "Upload" tabs like in Wikipedia. I just see the search field to insert a word key.

Whatamidoing (WMF) (talkcontribs)

Where do you expect the uploaded files to be stored (Commons or your private wiki)?

Lestieve (talkcontribs)

First, I wanted to store files on my private wiki. But, do you mean the upload tab is for stored files in Commons ? It can be another possibility for me...

Whatamidoing (WMF) (talkcontribs)

Yes, the Upload tab is for storing files on Commons.

Lestieve (talkcontribs)

Thanks, can you tell me how to display the Upload tab ?

Whatamidoing (WMF) (talkcontribs)

I don't believe that's possible on private wikis at the moment. There wouldn't be any point in providing an Upload tab that uploads images to (only) Commons, when your wiki isn't connected to Commons, would there?

212.73.171.142 (talkcontribs)

Having the same issue with my wiki. How can I enable the "Upload" tab in the insert/media dialogue? (I am running the latest wiki & VE)

Thanks!

Reply to "upload tab missing from insert media dialog"