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?
Visual Editor adds "index.php?title=" in front of every file link when saving
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?
Thanks for your question. I'll see if User:Whatamidoing (WMF) can address it.
Are you running your own wiki?
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
When I add $wgUsePathInfo=true; in my Localsettings this issue is solved, BUT then I can no longer change the Namespaces in "Special:AllPages".
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.
It seems to be fixed in v1.39: phabricator.wikimedia.org/T270219
I'm using v1.38 and will test to upgrade
Adding $wgUsePathInfo=true; to LocalSettings resolved my issue.
Visual editor mode only opens in a new Google Chrome tab
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§ion=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
Using the Visual Editor changes the category text
I have the issue that the visual editor changes the category
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
When did the bug with HTML comments being deleted by Visual editor get fixed?
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!
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.
Edit wikitext between templates
I made 3 templates(1col, 2col, End) that generate 2 columns layout. Can I edit wikitext between templates in Visual Editor?
Yes. There should be a littlebutton at the bottom that says "Add wikitext".
This let edit source code. I want to use Visual editor for that.
Maybe you can explain your example in more detail? What wikitext do you want to place between the three templates you mentioned? Usually the issue is that a piece of wikitext in such a context is "unbalanced", which means it doesn't make sense on its own but only in the context of the templates. But what the templates mean is hidden in their code and cannot be understood by tools like VisualEditor.
<div class="container"> # 1col template
<div class="col1"> # 1col template
</div> # 2col template
<div class="col2"> # 2col template
</div> # end template
</div> # end template
Visual Editor joins it into one template context and forbid to edit in visual mode.
I'd like to prevent creation of Template content object
The default signature function in the visual editor currently uses the timestamp signature (~~~~). I would like it to use the signature without timestamp (~~~).
Is it possible to configure this function (as it is, for example, for the wikieditor via the Mediawiki:Sig-text page)?
Unfortunately, this appears to be hard-coded in the code.
I think you might be able to fake it with a subst:d template.
Yes, I could create a template. But using it would be even more of a hassle than shifting between VE and the wikieditor.
Pic not showing on users guide/citation template
Could you fix the translation tag or anything? Something is not working on the image lm|VisualEditor Toolbar without Citoid|png. Only “1200px” in red shows on /ja page. https://www.mediawiki.org/w/index.php?title=Help:VisualEditor/User_guide/Citation_templates/ja&oldid=2982007
Please don's split parentheses pair among source
My update true to your change causes problem and labeled as "need update"; error message as follows has persisted before saving the translation; "There is an uneven amount of parenthesis: (): 1". I am afraid while the translation is true to your change, the translation system does not accept such update/change.
I believe that this has been resolved.
How to use VE on forms?
I remember seeing forms textarea using the Visual Editor. How is it done ? I didn't see it in the documentation.
Why do you want to do that?
For this you need Extension:VEForAll