Hi, In your localsettings.js (for Parsoid) you should have "parsoidConfig.setInterwiki( 'skwiki', 'http://skwiki' );" instead of what you have now.
Also try setting $wgVisualEditorParsoidURL = 'http://skwiki:8000' and $wgVisualEditorParsoidPrefix = 'skwiki' (make sure that nothing is overwritten in extensions/VisualEditor/VisualEditor.php). Inez On Fri, Jan 25, 2013 at 3:25 AM, - - <[email protected]> wrote: > > > Hi, > > I just asked this in IRC, but in case I need to go before I get a reply, I > will ask you here: > > This really starts to bug me! I have no idea why Parsoid (and the > VisualEditor) is not working! My wiki is working and the address is > http://skwiki/w/Hauptseite ("Main_Page" is "Hauptseite" in German). I see the > api page when I go to http://skwiki/api.php and I see the Parsoid page when I > go to http://skwiki:8000. But I get errors when I click the VisualEditor link > on http://skwiki/w/VisualEditor:Sandbox (no response). > > - The wiki is located at /usr/local/var/www/mediawiki/. > - The webserver is configured to have the docroot for http://skwiki at > /usr/local/var/www/mediawiki/ > - It also internally rewrites "/w/(.+)" to "index.php?title=$1" > - /usr/local/var/www/mediawiki/extensions/Parsoid/js/api/localsettings.php is > http://pastebin.com/BhB07BKY > - /usr/local/var/www/mediawiki/LocalSettings.php is > http://pastebin.com/Y1wLnwiL > > When I click the WYSIWYG-button at http://skwiki/w/VisualEditor:Sandbox, I > get the following response in the web browser > >> {"error":{"code":"parsoidserver","info":"Error contacting the Parsoid >> server"}} > > and node js throws an error: > >> /usr/local/var/www/mediawiki/extensions/Parsoid/js/lib/mediawiki.WikiConfig.js:25 >> var nkeys = Object.keys( names ); >> ^ >> TypeError: Object.keys called on non-object >> at Function.keys (native) >> at Object.WikiConfig >> (/usr/local/var/www/mediawiki/extensions/Parsoid/js/lib/mediawiki.WikiConfig.js:25:21) >> at MWParserEnvironment.switchToConfig >> (/usr/local/var/www/mediawiki/extensions/Parsoid/js/lib/mediawiki.parser.environment.js:215:21) >> at ApiRequest.processListeners.processSome >> (/usr/local/var/www/mediawiki/extensions/Parsoid/js/lib/mediawiki.ApiRequest.js:53:4) >> at process.startup.processNextTick.process._tickCallback (node.js:244:9) > > I really would like to get this working! > > Thanks, > > Stadtpirat > > ---------- Forwarded message ---------- > From: - - <[email protected]> > To: "[email protected]" <[email protected]> > Cc: > Date: Fri, 25 Jan 2013 03:06:21 -0800 (PST) > Subject: WG: No response to VisualEditor from Parsoid > Hi, > > > I just asked this in IRC, but in case I need to go before I get a reply, I > will ask you here: > > This really starts to bug me! I have no idea why Parsoid (and the > VisualEditor) is not working! My wiki is working and the address is > http://skwiki/w/Hauptseite ("Main_Page" is "Hauptseite" in German). I see the > api page when I go to http://skwiki/api.php and I see the Parsoid page when I > go to http://skwiki:8000. But I get errors when I click the VisualEditor link > on http://skwiki/w/VisualEditor:Sandbox (no response). > > - The wiki is located at /usr/local/var/www/mediawiki/. > - The webserver is configured to have the docroot for http://skwiki at > /usr/local/var/www/mediawiki/ > - It also internally rewrites "/w/(.+)" to "index.php?title=$1" > - /usr/local/var/www/mediawiki/extensions/Parsoid/js/api/localsettings.php is > http://pastebin.com/BhB07BKY > - /usr/local/var/www/mediawiki/LocalSettings.php is > http://pastebin.com/Y1wLnwiL > > When I click the WYSIWYG-button at http://skwiki/w/VisualEditor:Sandbox, I > get the following response in the web browser > >> {"error":{"code":"parsoidserver","info":"Error contacting the Parsoid >> server"}} > > and node js throws an error: > >> /usr/local/var/www/mediawiki/extensions/Parsoid/js/lib/mediawiki.WikiConfig.js:25 >> var nkeys = Object.keys( names ); >> ^ >> TypeError: Object.keys called on non-object >> at Function.keys (native) >> at Object.WikiConfig >> (/usr/local/var/www/mediawiki/extensions/Parsoid/js/lib/mediawiki.WikiConfig.js:25:21) >> at MWParserEnvironment.switchToConfig >> (/usr/local/var/www/mediawiki/extensions/Parsoid/js/lib/mediawiki.parser.environment.js:215:21) >> at ApiRequest.processListeners.processSome >> (/usr/local/var/www/mediawiki/extensions/Parsoid/js/lib/mediawiki.ApiRequest.js:53:4) >> at process.startup.processNextTick.process._tickCallback (node.js:244:9) > > I really would like to get this working! > > Thanks, > > > Stadtpirat > > > _______________________________________________ > Wikitext-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikitext-l > _______________________________________________ Wikitext-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitext-l
