Jump to content

VisualEditor/Feedback

About this board

Post your feedback about using the visual editor. Learn how to report problems clearly.

Need more attention? Report directly in Phabricator. The Wikimedia Foundation does not provide support for installing VisualEditor on third-party wikis.

You can read the guide to optimize the visual editor on your site. The guide explains how to set up citation templates.

View open developer tasks Report a new bug in Phabricator

Previous page history was archived for backup purposes at VisualEditor/Feedback/LQT Archive 1 on 2015-07-30.

=\\\\\\\\\\\\[[[[[[[[

1
2001:288:8289:31:616B:6525:2942:2C4E (talkcontribs)
Reply to "=\\\\\\\\\\\\[[[[[[[["

VisualEditor in 1.40.0 breaks categories tag

12
Olarp (talkcontribs)

Upgraded a 1.39.4 to 1.40.0

When editing with the VisualEditor, category tags like [[Category:System]] are converted and saved as [[index.php?title=Kategori:System]]. This of course breaks the page categorising. It's possible to re-edit the page, re-categorise it and it works but it will break again on the next edit.

The WikiText editor does not exhibit this behaviour. It correctly handles the category tags.

Restored the 1.39.4 from backup and tried re-installing a few times, but the upgrade to 1.40.0 produces this unwanted behaviour all times.

Here's rest of the software versions.

Produkt Version
MediaWiki 1.39.4
PHP 8.2.9 (cgi-fcgi)
MariaDB 10.10.2-MariaDB
ICU 71.1
Lua 5.1.5
Pygments 2.16.1

Browser used is Chrome Version 116.0.5845.110 (Officiell version) (arm64) on MacOS.

Whatamidoing (WMF) (talkcontribs)
89.151.42.222 (talkcontribs)

i got the same problem

79.142.32.54 (talkcontribs)

Freshly installed yesterday and can confirm this very annoying behaviour

99.254.32.233 (talkcontribs)

Experiencing the same issue. Any solution?

107.1.38.224 (talkcontribs)

MediaWiki 1.40.1, VisualEditor 0.1.2, issue witnessed. We plan to update MW to latest soon to find out if that fixes it. I can't tell the VE version that appears in ME vs the VE version that is posted on these pages.

217.96.41.70 (talkcontribs)

+1 on this issue. Very annoying.

79.142.32.54 (talkcontribs)

Yup. can confirm and is very frustrating

ESanders (WMF) (talkcontribs)

Is the issue present in 1.41?

2003:FD:2707:BC4F:88CD:7BE2:FD8:D93A (talkcontribs)

Yes, Issue still present in version 1.41.0. This is indeed very annoying.

Heinrich krebs (talkcontribs)

MediaWiki 1.41.0, VisualEditor 0.1.2

Fresh installation, issue witnessed.

217.151.131.165 (talkcontribs)

Try that workaround:

localsettings.php

$wgUsePathInfo= true;

Reply to "VisualEditor in 1.40.0 breaks categories tag"

Disconnect between visual editor and source editor

1
Reaper1945 (talkcontribs)

I added a blockquote, and as a result it merged the paragraph right under the blockquote with a separate paragraph right under that paragraph, with both showing them as together in visual editor, but in the source editing, they were shown as separate. Fixed it, but was recommended by an editor at the help desk to report it.

URLs for the original help desk request and recommendation to report: https://en.m.wikipedia.org/w/index.php?diff=1260580208&oldid=1260578541&title=Wikipedia:Help_desk

https://en.m.wikipedia.org/w/index.php?title=Wikipedia:Help_desk&diff=prev&oldid=1260581424

Reply to "Disconnect between visual editor and source editor"

Visual Editor doesn't work with NYT, Times of Israel and Washington Post

2
79.51.125.37 (talkcontribs)

Hi all, if you add an URL of the New Yoirk Times, Times of Israel or Washington Post, the Visual Editor does not upload any pparameter suc as title, date if publication, author, website or acccess-date.

TheDJ (talkcontribs)

Unfortunately paywalls are increasingly causing such problems. There is not much that can be done against this I’ve been told.

Reply to "Visual Editor doesn't work with NYT, Times of Israel and Washington Post"
Aleqc (talkcontribs)
Reply to "Problemes à sourcer"

Editor not work on various pages

1
212.172.13.57 (talkcontribs)

I have a mediawiki in current version 1.42.3 and try to use VisualEditor.

Some pages work, but on the most of the pages the visual editor gives out an error message. All other Wiki Features works fine, i cannot find any other problem then the visual editor.

I get the following error in the Popup:

[0d4e083bdcb1c5b07630e264] Exception caught: DOMElement::setAttribute(): Argument #2 ($value) must be of type string, true given

If i check the full backtrace i are lost in the media-wiki sorce code space :-)

Do you have any hint for me how i can get the error?

TypeError at C:\\inetpub\\wwwroot\\wiki-2023\\vendor\\wikimedia\\parsoid\\src\\Wt2Html\\PP\\Processors\\AddLinkAttributes.php(54)
from C:\\inetpub\\wwwroot\\wiki-2023\\vendor\\wikimedia\\parsoid\\src\\Wt2Html\\PP\\Processors\\AddLinkAttributes.php(54)
#0 C:\\inetpub\\wwwroot\\wiki-2023\\vendor\\wikimedia\\parsoid\\src\\Wt2Html\\PP\\Processors\\AddLinkAttributes.php(54): DOMElement-\u003EsetAttribute()
#1 C:\\inetpub\\wwwroot\\wiki-2023\\vendor\\wikimedia\\parsoid\\src\\Wt2Html\\DOMPostProcessor.php(139): Wikimedia\\Parsoid\\Wt2Html\\PP\\Processors\\AddLinkAttributes-\u003Erun()
#2 C:\\inetpub\\wwwroot\\wiki-2023\\vendor\\wikimedia\\parsoid\\src\\Wt2Html\\DOMPostProcessor.php(908): Wikimedia\\Parsoid\\Wt2Html\\DOMPostProcessor-\u003EWikimedia\\Parsoid\\Wt2Html\\{closure}()
#3 C:\\inetpub\\wwwroot\\wiki-2023\\vendor\\wikimedia\\parsoid\\src\\Wt2Html\\DOMPostProcessor.php(949): Wikimedia\\Parsoid\\Wt2Html\\DOMPostProcessor-\u003EdoPostProcess()
#4 C:\\inetpub\\wwwroot\\wiki-2023\\vendor\\wikimedia\\parsoid\\src\\Wt2Html\\DOMPostProcessor.php(967): Wikimedia\\Parsoid\\Wt2Html\\DOMPostProcessor-\u003Eprocess()
#5 C:\\inetpub\\wwwroot\\wiki-2023\\vendor\\wikimedia\\parsoid\\src\\Wt2Html\\ParserPipeline.php(170): Wikimedia\\Parsoid\\Wt2Html\\DOMPostProcessor-\u003EprocessChunkily()
#6 C:\\inetpub\\wwwroot\\wiki-2023\\vendor\\wikimedia\\parsoid\\src\\Wt2Html\\ParserPipelineFactory.php(278): Wikimedia\\Parsoid\\Wt2Html\\ParserPipeline-\u003EparseChunkily()
#7 C:\\inetpub\\wwwroot\\wiki-2023\\vendor\\wikimedia\\parsoid\\src\\Wikitext\\ContentModelHandler.php(154): Wikimedia\\Parsoid\\Wt2Html\\ParserPipelineFactory-\u003Eparse()
#8 C:\\inetpub\\wwwroot\\wiki-2023\\vendor\\wikimedia\\parsoid\\src\\Parsoid.php(191): Wikimedia\\Parsoid\\Wikitext\\ContentModelHandler-\u003EtoDOM()
#9 C:\\inetpub\\wwwroot\\wiki-2023\\vendor\\wikimedia\\parsoid\\src\\Parsoid.php(232): Wikimedia\\Parsoid\\Parsoid-\u003EparseWikitext()
#10 C:\\inetpub\\wwwroot\\wiki-2023\\includes\\parser\\Parsoid\\ParsoidParser.php(148): Wikimedia\\Parsoid\\Parsoid-\u003Ewikitext2html()
#11 C:\\inetpub\\wwwroot\\wiki-2023\\includes\\parser\\Parsoid\\ParsoidParser.php(253): MediaWiki\\Parser\\Parsoid\\ParsoidParser-\u003EgenParserOutput()
#12 C:\\inetpub\\wwwroot\\wiki-2023\\includes\\content\\WikitextContentHandler.php(376): MediaWiki\\Parser\\Parsoid\\ParsoidParser-\u003Eparse()
#13 C:\\inetpub\\wwwroot\\wiki-2023\\includes\\content\\ContentHandler.php(1663): WikitextContentHandler-\u003EfillParserOutput()
#14 C:\\inetpub\\wwwroot\\wiki-2023\\includes\\content\\Renderer\\ContentRenderer.php(67): ContentHandler-\u003EgetParserOutput()
#15 C:\\inetpub\\wwwroot\\wiki-2023\\includes\\Revision\\RenderedRevision.php(259): MediaWiki\\Content\\Renderer\\ContentRenderer-\u003EgetParserOutput()
#16 C:\\inetpub\\wwwroot\\wiki-2023\\includes\\Revision\\RenderedRevision.php(232): MediaWiki\\Revision\\RenderedRevision-\u003EgetSlotParserOutputUncached()
#17 C:\\inetpub\\wwwroot\\wiki-2023\\includes\\Revision\\RevisionRenderer.php(226): MediaWiki\\Revision\\RenderedRevision-\u003EgetSlotParserOutput()
#18 C:\\inetpub\\wwwroot\\wiki-2023\\includes\\Revision\\RevisionRenderer.php(164): MediaWiki\\Revision\\RevisionRenderer-\u003EcombineSlotOutput()
#19 [internal function]: MediaWiki\\Revision\\RevisionRenderer-\u003EMediaWiki\\Revision\\{closure}()
#20 C:\\inetpub\\wwwroot\\wiki-2023\\includes\\Revision\\RenderedRevision.php(199): call_user_func()
#21 C:\\inetpub\\wwwroot\\wiki-2023\\includes\\page\\ParserOutputAccess.php(379): MediaWiki\\Revision\\RenderedRevision-\u003EgetRevisionParserOutput()
#22 C:\\inetpub\\wwwroot\\wiki-2023\\includes\\page\\ParserOutputAccess.php(330): MediaWiki\\Page\\ParserOutputAccess-\u003ErenderRevision()
#23 C:\\inetpub\\wwwroot\\wiki-2023\\includes\\parser\\Parsoid\\ParsoidOutputAccess.php(134): MediaWiki\\Page\\ParserOutputAccess-\u003EgetParserOutput()
#24 C:\\inetpub\\wwwroot\\wiki-2023\\includes\\Rest\\Handler\\Helper\\HtmlOutputRendererHelper.php(774): MediaWiki\\Parser\\Parsoid\\ParsoidOutputAccess-\u003EgetParserOutput()
#25 C:\\inetpub\\wwwroot\\wiki-2023\\includes\\Rest\\Handler\\Helper\\HtmlOutputRendererHelper.php(587): MediaWiki\\Rest\\Handler\\Helper\\HtmlOutputRendererHelper-\u003EgetParserOutputInternal()
#26 C:\\inetpub\\wwwroot\\wiki-2023\\includes\\Rest\\Handler\\Helper\\HtmlOutputRendererHelper.php(451): MediaWiki\\Rest\\Handler\\Helper\\HtmlOutputRendererHelper-\u003EgetParserOutput()
#27 C:\\inetpub\\wwwroot\\wiki-2023\\extensions\\VisualEditor\\includes\\DirectParsoidClient.php(155): MediaWiki\\Rest\\Handler\\Helper\\HtmlOutputRendererHelper-\u003EgetHtml()
#28 C:\\inetpub\\wwwroot\\wiki-2023\\extensions\\VisualEditor\\includes\\ApiParsoidTrait.php(107): MediaWiki\\Extension\\VisualEditor\\DirectParsoidClient-\u003EgetPageHtml()
#29 C:\\inetpub\\wwwroot\\wiki-2023\\extensions\\VisualEditor\\includes\\ApiVisualEditor.php(232): MediaWiki\\Extension\\VisualEditor\\ApiVisualEditor-\u003ErequestRestbasePageHtml()
#30 C:\\inetpub\\wwwroot\\wiki-2023\\includes\\api\\ApiMain.php(1946): MediaWiki\\Extension\\VisualEditor\\ApiVisualEditor-\u003Eexecute()
#31 C:\\inetpub\\wwwroot\\wiki-2023\\includes\\api\\ApiMain.php(922): ApiMain-\u003EexecuteAction()
#32 C:\\inetpub\\wwwroot\\wiki-2023\\includes\\api\\ApiMain.php(893): ApiMain-\u003EexecuteActionWithErrorHandling()
#33 C:\\inetpub\\wwwroot\\wiki-2023\\includes\\api\\ApiEntryPoint.php(158): ApiMain-\u003Eexecute()
#34 C:\\inetpub\\wwwroot\\wiki-2023\\includes\\MediaWikiEntryPoint.php(199): MediaWiki\\Api\\ApiEntryPoint-\u003Eexecute()
#35 C:\\inetpub\\wwwroot\\wiki-2023\\api.php(44): MediaWiki\\MediaWikiEntryPoint-\u003Erun()
#36 {main}"
Reply to "Editor not work on various pages"
Summary by Clump

off-topic, but that page was created

163.5.23.4 (talkcontribs)
Agent utilisateur : Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 Edg/130.0.0.0

URL : https://fr.wikipedia.org/w/index.php?title=Lee_E._McMahon&action=edit&redlink=1 This page when going on the wikipedia page of Sed UNIX is described as non-existing. This is not the case, as there is indeed a wikipedia page who's name is Lee E McMahon. I'm not used to wikipedia so I don't know how to change this

Image copy paste broken after 1.32?

13
Summary by 2804:18:5046:F764:267A:9AAE:57C2:BB02

Um

77.86.179.245 (talkcontribs)

Any ideas why VisualEditor throws this exception to Chrome console with 1.33 and later when copy pasting image to editor,

Query.Deferred exception: files.map is not a function TypeError: files.map is not a function
    at OoUiSelectFileWidget.OO.ui.SelectFileWidget.setValue (https://wiki.local/load.php?debug=false&lang=en&modules=ext.visualEditor.core%7Coojs-ui-core%2Coojs-ui-widgets&skin=vector&version=09ovhn2:1048:538)
    at mw.ForeignStructuredUpload.BookletLayout.mw.Upload.BookletLayout.setFile (<anonymous>:1050:340)
    at Array.<anonymous> (<anonymous>:713:254)
    at mightThrow (https://wiki.local/load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0w5wrgy:48:916)
    at process (https://wiki.local/load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0w5wrgy:49:589)
jQuery.Deferred exception: files.map is not a function TypeError: files.map is not a function
    at OoUiSelectFileWidget.OO.ui.SelectFileWidget.setValue (https://wiki.local/load.php?debug=false&lang=en&modules=ext.visualEditor.core%7Coojs-ui-core%2Coojs-ui-widgets&skin=vector&version=09ovhn2:1048:538)
    at mw.ForeignStructuredUpload.BookletLayout.mw.Upload.BookletLayout.setFile (<anonymous>:1050:340)
    at Array.<anonymous> (<anonymous>:713:254)
    at mightThrow (https://wiki.local/load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0w5wrgy:48:916)
    at process (https://wiki.local/load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0w5wrgy:49:589)
jQuery.Deferred exception: files.map is not a function TypeError: files.map is not a function
    at OoUiSelectFileWidget.OO.ui.SelectFileWidget.setValue (https://wiki.local/load.php?debug=false&lang=en&modules=ext.visualEditor.core%7Coojs-ui-core%2Coojs-ui-widgets&skin=vector&version=09ovhn2:1048:538)
    at mw.ForeignStructuredUpload.BookletLayout.mw.Upload.BookletLayout.setFile (<anonymous>:1050:340)
    at Array.<anonymous> (<anonymous>:713:254)
    at mightThrow (https://wiki.local/load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0w5wrgy:48:916)
    at process (https://wiki.local/load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0w5wrgy:49:589)
Whatamidoing (WMF) (talkcontribs)

What image are you trying to paste? Are you pasting the code for an image that you copied from another wiki page, or an image from another website?

Titoshadow (talkcontribs)

Same behaviour observed in Firefox 72.0.1, after trying to copy an image from a Word document


79.135.56.229 (talkcontribs)

Same problem on Chrome 79.0.3945.117 (64 bit)

79.135.56.229 (talkcontribs)

Same problem on version 1.34

Whatamidoing (WMF) (talkcontribs)

Do you realize that you are supposed to use Special:Upload to put images on your wiki, and not just copy/paste?

170.253.44.150 (talkcontribs)

What os your point? We can achieve the functionality but being less usable is preferred?

Some extensions like ClipUpload actually manages that, we are talking about just one step more, which was working and now does not.

Whatamidoing (WMF) (talkcontribs)

If you are having trouble with Extension:ClipUpload, then you should contact the maintainers of that extension. Extension:VisualEditor has never supported uploading via copy/paste, and supporting copy/paste uploads from the web is actively unwanted by Wikimedia Commons and the Wikipedia communities.

2001:569:FCE0:7900:F485:2E9F:DF7F:1893 (talkcontribs)
Titoshadow (talkcontribs)

Yet here we are, still without a fix after several years.

213.212.36.180 (talkcontribs)

Absolute pathetic that it's still not a built in feature. This is why mediawiki is being phased out for stuff like Confluence.

Rviauiilyo (talkcontribs)

I completely not agree with you.

If something is unwanted, does no seems that it has to be removed from a system.

This feature was working before and now not. Allowing users to do it or to enable it should be a good point.

You say that it was never supported, but it was here and it was a great feature as lots of users like me use wikimedia to store there IT process and then use copy/paste of screenshot.

How could you explain that if it was not supported it was working before and now it throw an error ?

38.146.48.251 (talkcontribs)

using 1.34 - on line 5803 in oojs-ui-widgets.js, in OO.ui.SelectFileWidget.prototype.setValue, i changed the line files = files.slice(0,1) to files = [files.slice(0,1)] and i'm getting the image upload popup (error was calling .map on a single object not an array). Doesn't quite fix the problem for me, but it's progress (no thumbnail on the upload popup and when i hit upload i get a filename error)

Reply to "Image copy paste broken after 1.32?"

Comparing Diffs with Visual Comparison

1
Myrealnamm-alt (talkcontribs)

Hello,

I'm not sure if this message goes here, but I'm noticing that this edit: en:w:Special:Diff/1221607731. Comparing this edit visually is odd, because that is not what the editor added (see it in the Wikitext comparison). Why is this happening?

Reply to "Comparing Diffs with Visual Comparison"

Can't paste text+URLs in code formatting

1
174.89.12.36 (talkcontribs)

Strangely, pasting results in either nothing or U+2601 Cloud.

  1. Click "Computer code" in VE or reply tool
  2. Copy Location: https://
  3. Paste into the browser URL bar (to remove formatting. Ctrl+Shift+V can skip steps 3-4)
  4. Cut
  5. Paste into the editor

It gives me the Unicode cloud symbol but I expected to see what I tried to paste.

Reply to "Can't paste text+URLs in code formatting"