Movatterモバイル変換


[0]ホーム

URL:


Jump to content
MediaWiki
Search

VisualEditor/Feedback/Flow

About this board

Structured Discussions boards are read-only on this wiki as of March 2025.

This page is an archive.Do not add new topics here.

Please ask new questions atVisualEditor/Feedback instead.


You are not logged in. To receive attribution with your name instead of your IP address, you canlog in orcreate an account.

VisualEditor in 1.40.0 breaks categories tag

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

ProduktVersion
MediaWiki1.39.4
PHP8.2.9 (cgi-fcgi)
MariaDB10.10.2-MariaDB
ICU71.1
Lua5.1.5
Pygments2.16.1

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

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}"
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=1This 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)

If you are having trouble withExtension: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 activelyunwanted by Wikimedia Commons and the Wikipedia communities.

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?

suppression page !

3
Philogo64(talkcontribs)
Agent utilisateur : Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36

URL :https://fr.wikipedia.org/w/index.php?title=Championnat_europ%C3%A9en_f%C3%A9minin_de_go&veaction=editCette page wiki s'affichait comme étant vide. J'ai commencé à l'éditer puis impossible de l'enregistrer. Je pense avoir perdu tout ce que j'ai fait car la page a été supprimée! Si j'ai mal fait quelque chose, je ne sais pas encore quoi..... :(

Retrieved from "https://www.mediawiki.org/wiki/VisualEditor/Feedback/Flow"

[8]ページ先頭

©2009-2025 Movatter.jp