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

Disabling cache causing VE to not work

Divinorum ari (talkcontribs)

I have disabled Memcache and set CACHE_NONE, VE is not able connect to Parsoid anymore. Re-enabling cache is solving the problem.

Ho to solve that please ? Any advice will help, thank you

Reply to "Disabling cache causing VE to not work"

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

Why isn't the VE running on talk pages anywhere?

Sänger (talkcontribs)

Instead of the normal editing possibilities, on talk pages we are restricted to either only use the wikitext editor, or to this Flow environment, with its massive restrictions on next to everything. Why is the VE not enabled anywhere on talk pages?

Jdforrester (WMF) (talkcontribs)

Hi there. This question comes up a bunch, and has been answered at length a few times before, but I can't find any of those right now, sorry.

The short answer is that VE is a content editor, and is designed to make writing (long-form) content. In dozens of ways, we've optimised it around writing articles for Wikipedia, Wikivoyage and other wikis. The use cases of a semi-free-form-but-with-odd-rules discussion box are fundamentally incompatible. Providing VE for talk pages would mean making massive compromises both on being a good content editor and on being a good discussion editor. It's an anti-pattern, and it's not going to happen.

I know you have a personal animus with Flow, and that's unfortunate, but it's the option available if you think talk pages don't work well (with which I would agree).

Sänger (talkcontribs)

It's just about an editor, the difference between a plain text editor and a wysiwyg editor. There shouldn't be any big difference between editing a text on either the front or the back side of any page. A talk page is as well nothing much different to any other content page, only the content is a bit different.

It's like the difference between old fashioned WordPerfect and the wysiwyg version of the same program. Some prefer the classic mode, some the ve, but the resulting page is just the same.

Sänger (talkcontribs)

Why was this definitely not solved question closed? Your answer was just a straw man, not a real one. It's everything but closed.

Jdforrester (WMF) (talkcontribs)

Sorry, I didn't see a question in your response, just implicit accusations of bad faith and incompetence. :-) If you could re-write one that'd be great, otherwise there's nothing more to say.

Sänger (talkcontribs)

Why isn't the VE running on talk pages?

VE is a text editor, and thus should be fully capable of editing on any page, at least simple talk pages.

Jdforrester (WMF) (talkcontribs)
VE is a text editor,

As I explained, this is not true.

Sänger (talkcontribs)

To just quote the first sentence from the other side:
The VisualEditor project aims to create a reliable rich-text editor for MediaWiki.
So why do I have the impression, that either the other side is plain wrong or your "argument" is just a straw man?

Whatamidoing (WMF) (talkcontribs)

The visual editor cannot (abuse HTML definition list formatting to) fake the indentation of paragraphs. Therefore, you are likely to find using it in a talk-page discussion to be frustrating at this time.

Sänger (talkcontribs)

...yet. An editor that's capable of editing tables, using templates, setting references etc.pp. is incapable of abusing colons for indentation? Should I really believe this?

Why do I think of a nice idea to push the software pet project that's not as much liked by the community as by the WMFers?

Whatamidoing (WMF) (talkcontribs)

I think you may have to wait until phab:T6521 is resolved.

BTW, there are a few wikis that have the visual editor enabled in the Project: namespace, and which also have some discussions in that namespace (e.g., ), and we hear complaints about problems on those pages. I don't think that it would be a good idea to expand the use of the visual editor on such pages at this time.

Reply to "Why isn't the VE running on talk pages anywhere?"

I have never found out, how to enter a Fragment identifier in VE

° (talkcontribs)

How do I add a Fragment Identifier in VisualEditor? I have never found out, how to do it.

Elitre (WMF) (talkcontribs)

Assuming you are not talking about adding a Fragment Identifier to a URL (because that only requires to type or paste the related bit after the existing link, in the link tool), making a link to a specific internal page's section is currently broken per (which luckily is marked as High priority now). HTH and answers your question.

Why are the namings of the tabs slightly misleading?

Sänger (talkcontribs)

The edit tabs are named Edit and Edit Source, that's a bit misleading.

a) Source would be HTML, not wikitext and wikisyntax, so people with some experience would expect the normal editor with edit, ansd something like a real HTML editor with the tagging source b) It's biased towards a certain editor, that is declared normal instead of the other one, while in reality the other one is the normal one (not The Normal One), at least for the wikiverse, and the new kid on the block is not normal yet.

Whatamidoing (WMF) (talkcontribs)
  1. The wikitext markup language is every bit as much "source code" as the Hyper Text Markup Language. In some languages, translators have chosen the equivalent of "Edit wikicode", which is clearer to experienced editors, more confusing to inexperienced editors, and neatly avoids the question of whether any markup language is properly "source code". If you prefer that approach, then you can easily change the label at all wikis in your global.css file.
  2. User testing indicates that "the editing environment that works like my word processor, e-mail app, and almost everything else that I do on the internet" is indeed considered "the normal one" by new and inexperienced editors. From the in-universe perspective of experienced editors, the wikitext editor is certainly "normal" (in the statistical sense of being what they use most frequently), but labeling buttons from an in-universe perspective is not good practice.
Reply to "Why are the namings of the tabs slightly misleading?"
Trig12 (talkcontribs)

How to I install a VE version that will work with MediaWiki 1.26.2?

I followed the installation instructions and ended up with a version of VE that crashes 1.26.2 and gives a warning that it only works with versions 1.27 or above...which are not readily available for me to install!

Is ther a git command I can use to get an older version

Jdforrester (WMF) (talkcontribs)

Installation instructions are at Extension:VisualEditor.

To download a tarball, go to Special:ExtensionDistributor/VisualEditor and pick the appropriate version.

To download from git, do git checkout REL1_26 && git submodule update.

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"