Jump to: navigation, search

About this board

Previous discussion was archived at Talk:VisualEditor/Archive 1 on 2015-09-01.

By clicking "Add topic", you agree to our Terms of Use and agree to irrevocably release your text under the CC BY-SA 3.0 License and GFDL

Enabling VE in Category Page? And enable VE always.

AmazingTrans (talkcontribs)

I'm wondering

  1. when i go to a category page, how can i enable visualeditor in that page?
  2. when i search for a page that doesn't exist, Create the page "Test" on this wiki! See also the search results found. By clicking the Test word, it always automatically select Create Source. Is there anyway I can have it select Visual Editor first?
AmazingTrans (talkcontribs)

I have tried the following, and the category doesn't seem to have VE Edit available, only sourceedit. I notice the NS_USER is not necessary, somehow VE is always shown there.

$wgVisualEditorNamespaces[] = array_merge($wgContentNamespaces,array( NS_USER, NS_CATEGORY));

I also tried this, and it didn't work.

$wgVisualEditorNamespaces[] = NS_CATEGORY;
Elitre (WMF) (talkcontribs)

For 1., you have to enable VE in the entire namespace first. On WMF wikis, it already works there. Re: 2, see and related tasks.

AmazingTrans (talkcontribs)

VE is already working in Main namespace. Just not working in Talk, and Category namespace.

This is on my private wiki.

Whatamidoing (WMF) (talkcontribs)

I believe that the single edit tab feature will solve #2. (talkcontribs)

Since I've updated to MediaWiki 1.26.2 and the latest VisualEditor I also cannot enable VisualEditor for category pages. Before the Update (1.25.3) I could edit category pages. (talkcontribs)

I have the same issue. I would like to enable VisualEditor for Category pages. Also running 1.26.2.

Has anyone managed to enable this yet? (talkcontribs)

Add this to your LocalSettings.php

// Enable VisualEditor in Category Page

$wgVisualEditorAvailableNamespaces = array(


Reply to "Enabling VE in Category Page? And enable VE always."
Halfbeing (talkcontribs)

If there is already text between poem tags on a page, it is possible to edit it in VisualEditor (albeit in markup), as is demonstrated in the sandboxed demo. But is it possible to put new poem tags on a page in VisualEditor to create a new poem? The only way I have found to enter poem tags is to switch completely to the traditional editor, which is unsatisfactory. Halfbeing (talk) 10:13, 5 February 2016 (UTC)

Whatamidoing (WMF) (talkcontribs)

Currently, you can edit existing poems, but you cannot add new ones. (You can usually copy and paste one, and then edit the copy, but this is also unsatisfying.)

I do not know when full support for poems will be available.

Reply to "Adding poem tags?"
AmazingTrans (talkcontribs)

Hi there,

Is there any possible way where i can add a menu into the link with this template?

In the VE, now i have Search pages & External Link, maybe would like UNC Links as 3rd option?

UNC links

Whatamidoing (WMF) (talkcontribs)

I've suggested this at Phab:T123154.

Reply to "Adding template to VE?"

upload tab missing from insert media dialog

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 : 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 ?


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.

Krenair (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? (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)


Reply to "upload tab missing from insert media dialog"
Blazyb (talkcontribs)

I have a page on 9738 words and 73074 characters.

VE loads to 100% (pretty quickly) and stops there and nothing happens.

When I trimmed it down to around 50k characters it worked.

Sounds like there is a limitation somewhere that restricts this?

Any ideas?

Blazyb (talkcontribs)

Problem identified: It was a thumbnail that VisualEditor cannot parse. Why is that?

Blazyb (talkcontribs)

Error msg:

Whatamidoing (WMF) (talkcontribs)

Hi @Blazyb. Is this on a private wiki? Is the image present on the local wiki, or pulled from somewhere else?

Blazyb (talkcontribs)

Yes, this is a private wiki. The image is present on the local wiki yes, it is uploaded through the "Upload file" page. And checking the images folder I can see the files there. (talkcontribs)

Hey Blazyb did you found a solution?

My VE is loading as well but stops at 100%.. But only in Pages with Images

Reply to "VE not loading big pages"
AmazingTrans (talkcontribs)

In my private wiki,

I have uploaded couple of pictures: PictureA.jpg, PictureTest.jpg, PictureHey.jpg, PictureDEER.jpg,

When i did a insert media using VE, the search box pop-ups without any picture first, then I type the words P nothing comes out, i have to type Picture Then only the pictures are shown.

Is there anyway to setup so, VE show all picture during the start, and then show picture as long as 1st letter is typed?

Whatamidoing (WMF) (talkcontribs)

Short answer: Maybe.

Long answer: The visual editor uses the same search as Special:Search on your wiki. If "File:P" doesn't produce any results in the search box at the top of the page, then neither will "P" in the search box inside the visual editor. This may or may not be configurable locally. (You'd have to figure out whether you have "old search" or Extension:CirrusSearch, and read the documentation. You might also want to look into the new (beta level)Extension:CirrusSearch/CompletionSuggester, which might also improve your experience.)

However, specifically for the visual editor, the team is thinking about changing the first search to show the images that your account uploaded first, which would probably solve your problem in practice.

AmazingTrans (talkcontribs)

Let's see. I have the following library.


But i don't see CirrusSearch extension. Does that mean i have the default mediawiki old search?

Whatamidoing (WMF) (talkcontribs)

Probably? Someone may be able to tell you for certain if you ask at the Project:Support desk.

AmazingTrans (talkcontribs)


Reply to "Picture search in VE"
AmazingTrans (talkcontribs)

When i tried to copy and paste a table into mediawiki from excel, i noticed the layout looks exactly as what i want but the table lines were all transparent.

I was able to select all the top cell as header cell, but the other cells which are content cells, i can't seem to insert border line to them.

Once i saved it, the tables looks ugly without the border line. Will VE have option to add border lines? or is there anyway i can add border lines to tables?

Elitre (WMF) (talkcontribs)

Switch to wikitext mode and add class="wikitable"? See also

AmazingTrans (talkcontribs)

Works for now. Thanks!

Will wait for function to enable wikitable by visualeditor i guess

Whatamidoing (WMF) (talkcontribs)

This function is on the dev's priority list for the first months of 2016. We're all looking forward to it.

Reply to "Copy & paste tables"

Add new creative commons sources in media tab

Lestieve (talkcontribs)

Hello, I would like to add others creative commons sources in the insert media tab. By default, it's only possible to look for wikimedia commons pictures. But is it possible to add others sources like Flickr, Pixabay or Google Images ?


Whatamidoing (WMF) (talkcontribs)

No, this is not possible.

Reply to "Add new creative commons sources in media tab"

Don't have the Omega character in my toolbar

Summary by Jdforrester (WMF)

Special characters feature was not present in MediaWiki 1.22 version of VisualEditor.

TheoHenri (talkcontribs)

Hi, I don't have the Omega character in my toolbar, so I can't add special characters in my pages… Is there a parameter to activate? I've got MediaWiki 1.22.5 and VisualEditor version 0.1.0


Jdforrester (WMF) (talkcontribs)

That old version of VisualEditor doesn't have this feature. It can't be back-ported, because we had to add features to MediaWiki to support this tool. I would recommend that you upgrade your version of MediaWiki (especially as it is no longer getting security updates) and thus give yourself the ability to use a newer version of VisualEditor.

NehalDaveND (talkcontribs)

Please help me and guide me I have 800+ table to put in sa.wikipedia. and this problem makes that work hard. ~~~~

Whatamidoing (WMF) (talkcontribs)

This sounds like the problem reported with Excel at

Reply to "Word's Table pasting problem in VE"