Topic on VisualEditor/Feedback

VisualEditor won't finish loading

6
192.93.37.4 (talkcontribs)

Here's a screenshot about what's happening everytime I try to create or edit a page. The blue bar appears, load until ~70% then freeze.

I tried to check what's happening with firefox & chrome dev tools. Everything seems fine, here's a sample of a request json response.

{"visualeditor":{"result":"success","notices":["<p>You have followed a link to a page that does not exist yet.\nTo create the page, start typing in the box below (see the <a class=\"external text\" href=\"https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents\">help page</a> for more info).\nIf you are here by mistake, click your browser's <strong>back</strong> button.\n</p>"],"checkboxes":{"watch":"<input name=\"wpWatchthis\" type=\"checkbox\" value=\"1\" tabindex=\"1\" accesskey=\"w\" id=\"wpWatchthis\" />&#160;<label for='wpWatchthis' id='mw-editpage-watch' title=\"Add this page to your watchlist [w]\">Watch this page</label>"},"links":{"missing":["Cpage"],"extant":[]},"protectedClasses":"","basetimestamp":"20150813153540","starttimestamp":"20150813153541","oldid":0,"content":""}}

It's like he doesn't try to load the next page, the form for page edition / creation.

It's a private wiki. MediaWiki's 1.25.2. I got VisualEditor-REL1_25-c947b49.tar.gz and UniversalLanguageSelector-REL1_25-7661826.tar.gz. Here is my conf

### UniversalLanguageSelector (prérequis Parsoid)     # wfLoadExtension( 'UniversalLanguageSelector' );     require_once "$IP/extensions/UniversalLanguageSelector/UniversalLanguageSelector.php";     $wgULSGeoService = false;     $wgULSEnable = false;     $wgULSIMEEnabled = false;


    ### VisualEditor     wfLoadExtension( 'VisualEditor' );     # require_once "$IP/extensions/VisualEditor/VisualEditor.php";

    $wgVisualEditorSupportedSkins = array( 'Vector', 'Apex', 'Monobook', 'Minerva' );

    # Enable by default for everybody     $wgDefaultUserOptions['visualeditor-enable'] = 1;

    # Don't allow users to disable it     # $wgHiddenPrefs[] = 'visualeditor-enable';

    # OPTIONAL: Enable VisualEditor's experimental code features     #$wgDefaultUserOptions['visualeditor-enable-experimental'] = 1;

    # URL to the Parsoid instance     # MUST NOT end in a slash due to Parsoid bug     $wgVisualEditorParsoidURL = 'http://localhost:8000';     $wgVisualEditorParsoidHTTPProxy = false;

    # Interwiki prefix to pass to the Parsoid instance     # Parsoid will be called as $url/$prefix/$pagename     $wgVisualEditorParsoidPrefix = 'wikidiff';

    # # Namespaces for VE     #$wgVisualEditorNamespaces = array_merge($wgContentNamespaces, array( NS_USER ));     $wgVisualEditorNamespaces = $wgContentNamespaces;

    # Timeout for HTTP requests to Parsoid in seconds, and for serializationcachetimeout     $wgVisualEditorParsoidTimeout = 200;     $wgVisualEditorSerializationCacheTimeout = 3600;

    # Réglage parsoid pour wiki privé     # https://www.mediawiki.org/wiki/Extension:VisualEditor#Linking_with_Parsoid_in_private_wikis     $wgSessionsInObjectCache = true;     $wgVisualEditorParsoidForwardCookies = true;

Anyone can tell me what the hell is wrong ? It's been two long days...

Winand (talkcontribs)

Did you resolve that issue somehow? When I turn on $wgResourceLoaderDebug VisualEditor loads. But without debug mode it freezes at 70%.

Jeroen N (talkcontribs)

This is happening to me more and more, to the point I've had to disable the visual editor altogether. The same goes for the 2017 wikitext editor.

194.25.252.187 (talkcontribs)

I have the same problem. Without $wgResourceLoaderDebug it freeze by 70%. For testing, i disabled all other plugins. but it dosn't solve my problem. Any idea someone?

84.199.255.188 (talkcontribs)

I had the same problem.

The root-cause was the VEForAll extension version not matching the mediawiki version.

I installed the correct version, and VE loaded without issue.

Jiou7 (talkcontribs)

I have the same issue which only disappears when setting $wgResourceLoaderDebug = 'true';

I am using Mediawiki 1.35, for which VisualEditor is in the core. Did anybody find a solution?

Reply to "VisualEditor won't finish loading"