Jump to content

Help talk:VisualEditor/User guide/Flow

About this board

VisualEditor doesn't load when I click "Edit"!

2
Orribu (talkcontribs)
Product Version
MediaWiki 1.42.3
PHP 8.2.24 (fpm-fcgi)
ICU 69.1
MariaDB 10.6.19-MariaDB-log
Lua 5.1.5
Pygments 2.17.2

Hello there! I'm hoping someone can help me with this issue. I noticed when I click edit on both a page itself and the sections, VIsualEditor doesn't seem to load? I see the "?title=Main_Page&veaction=edit" appear at the end of the URL, though it also turns the URL into "https://wiki.wikiname.com/w/index.php?title=Main_Page&veaction=edit."

I've tried adding $wgUsePathInfo = true; to my LocalSettings.php file to no avail and making sure I'm running a version of VE that's compatible with MediaWiki (had to manually check and update since Softaculous doesn't seem to be thorough)--I'm not sure what

``(59ba842) 00:22, 24 October 2024``

means? I--I probably broke something. Could someone help me troubleshoot and figure out what's going on?

Orribu (talkcontribs)

Found the solution per Topic:Ybw736t19tqavd6o; it appears some issues with extra out of date skins I wasn't using anyway was causing issues; uninstalling them did the trick!

Reply to "VisualEditor doesn't load when I click "Edit"!"

Visual Editor adds "index.php?title=" in front of every file link when saving

11
216.48.86.87 (talkcontribs)

If I have a file link like [[Media:filename.pdf|filename]] on a page that I'm editing with the visual editor, it changes it to [[index.php?title=Media:filename.pdf|filename]] and every other similar file link in the page. These newly renamed filelinks don't work. Is there a way to stop Visual Editor from doing that?

Stephen

Elitre (WMF) (talkcontribs)
Whatamidoing (WMF) (talkcontribs)

Are you running your own wiki?

216.48.86.87 (talkcontribs)

Yes.

1.35.7
213.61.173.172 (talkcontribs)

I have a similar issue with the categories.

When editing a page in visual editor the categories are red and displayed as "index.php?title=Kategorie:XXX". When saved and viewed it is a normal link.

Same also for some of the links

213.61.173.172 (talkcontribs)

When I add $wgUsePathInfo=true; in my Localsettings this issue is solved, BUT then I can no longer change the Namespaces in "Special:AllPages".

216.48.86.87 (talkcontribs)

Thanks! This worked for me. I was hoping to stay with 1.35 because it is an LTS. I checked "Special:AllPages" and it seemed to work for me but I really only have standard Namespaces and may not be using Namespaces as fully as you.

213.61.173.172 (talkcontribs)

It seems to be fixed in v1.39: phabricator.wikimedia.org/T270219

I'm using v1.38 and will test to upgrade

2605:A601:AFE8:4C00:EC52:178A:F7A6:444B (talkcontribs)

Adding $wgUsePathInfo=true; to LocalSettings resolved my issue.

Gigisoave (talkcontribs)

I'm using v1.41 and I set $wgUsePathInfo=true; in my Localsettings, but still I get the links changed. Thank you Luigi

School4schools (talkcontribs)

I added a Support Desk topic on this issue here: Visual editor breaks category:fubar on pages on Project:Support desk (mediawiki.org)

Just found this page, so I will update here if anyone can help me on that request.

Reply to "Visual Editor adds "index.php?title=" in front of every file link when saving"

"Edit source" button doesn't work while in Visual Editor

3
Guillaume Taillefer (talkcontribs)

Hello. For some time now I have been having the problem where all the sudden when I try to click on "edit source" or "Source Editor" while in Visual Editor, it does nothing, in fact nothing loads. Sometimes it will give you the prompt: Invalid response from server.

Also I have the problem where now whenever I try to save long written articles the article will start saving and then prompt with: "server didn't respond in time"

I have updated the response time to being longer than was before and it sometimes works but usually does not and just gives that prompt.

This is on Mediawiki 1.40 btw.

Medicinestorm (talkcontribs)

Was there a cause or solution found for this? I am seeing the same behavior. Although I do not see any prompts. It just does nothing when trying to switch from "Visual editing" to "Source editing"

Guillaume Taillefer (talkcontribs)

No I have not been able to figure this one out. Maybe it is because of something like having the Nimbus skin or some extension I have installed. Idk its really weird and annoying. Ill have to look into my extensions list and trouble shoot to see which one is maybe the culprit. Also I tried updating MediaWiki and VisualEditor and neither thing fixed it.

Reply to ""Edit source" button doesn't work while in Visual Editor"

Edit on visual editor works only on MainPage

2
Gigisoave (talkcontribs)

Hi,

Suddednly, edit with visual editor stop working on all pages on my wiki except for the MainPage where it works perfectly.

I have 3 wiki on different databases. In every wiki I have the same behavior: in main page visual editor works, in the internal pages it doesn't.

Source editor works on every pages.

Thank you

Luigi

GobleStL (talkcontribs)

I have seen this same behavior. In addition, there is no toolbar for "Edit Source" and I cannot click on the tabs under profile preferences. Mine is a private wiki and I have a copy locally that has no issues. The only difference is how they handle HTTPS. Have you found a fix for this? I've even tried upgrading to a more recent version of MW. My next troubleshooting will be to change my "online" upgraded version to local and see if the issue remains.

SG

Reply to "Edit on visual editor works only on MainPage"

Searching TemplateData's SuggestedValues

1
Torenity (talkcontribs)

I have a template that is set up with TemplateData and a long list of suggested values. When using the VisualEditor to insert this template, our editors can't search through the suggested values easily through the combobox.

Is it possible to configure the search for the combobox of suggestedvalues? It seems to use a "start with" search function instead of "contains"


Example:

I want to use the suggested value "Chapter 1.00" when inserting the template. I type in "1.00" and cannot find that value. I end up having to type in "Chapter"

Reply to "Searching TemplateData's SuggestedValues"

Replacing an image from the person´s information card

1
Lil Herrera (talkcontribs)

I need help for replacing the picture on the person´s information card template.

Reply to "Replacing an image from the person´s information card"
Станислав Николаев (talkcontribs)

Hello. In the Bulgarian Wikipedia in "Edit" mode with the visual editor, when copying a given source and then editing the copied one, both were changed. This is really a problem, it was not so few days ago. Some solution?

Reply to "Sources problems"

Visual editor mode only opens in a new Google Chrome tab

1
Afanasovich (talkcontribs)

Something changed a while ago, and now when I click the "Edit" button/link, nothing happens. To be precise, the page address changes: &veaction=edit&section=1 is added, but the editing mode does not start. The only thing that helps is opening “Edit” in a new browser tab, which is very inconvenient.

I use Google Crome 119.0.6045.124. OS Windows 11, macOS Sonoma — the same problem.

I mainly work on the Russian-language Wikipedia, the page addresses contain Cyrillic

Reply to "Visual editor mode only opens in a new Google Chrome tab"

Using the Visual Editor changes the category text

1
Taumelski (talkcontribs)

Hello there,

I have the issue that the visual editor changes the category

from: [[Kategorie:Ressourcen]]

to: [[index.php?title=Kategorie:Ressourcen]]

It happens when I open the page and make a change with the visual editor. It doesn't happen when I open it in the normal source editor. Changing the category with the visual editor to the right category changes it to what it should be.


Is there a way to change that behaivour?

I'm using MediaWiki 1.40.0

Reply to "Using the Visual Editor changes the category text"

When did the bug with HTML comments being deleted by Visual editor get fixed?

2
OncMD (talkcontribs)

I'm using a site running MediaWiki 1.35.13 and VisualEditor 0.1.2, and we've noticed that HTML comments which are inserted either by the Visual Editor or in wiki code with <!-- TEXT --> get deleted from the page if we use the visual editor. We plan to upgrade, but am not sure if the but is fixed in the latest version of VisualEditor compatible with the latest LTS version of MediaWiki, or if we would need to upgrade to an even older version.


Can anyone help inform us when this comment bug was fixed so that we know what minimum software versions we need to upgrade to? Thank you!

Thiemo Kreuz (WMDE) (talkcontribs)

As far as I'm aware of VisualEditor was never supposed to delete comments. I tried to search for related bug reports but couldn't find much, maybe except for this one. Impossible to tell if this related without knowing more about the circumstances. I think it's easier of you update to the next LTS first and see if you can still reproduce the issue.

Reply to "When did the bug with HTML comments being deleted by Visual editor get fixed?"