Extension talk:VisualEditor/2017/08
Add topic| This page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made. |
Please note that the Wikimedia Foundation does not provide support for installing VisualEditor on third-party wikis. However, if you have a question we may try to help.
Ve error
[edit]I have VE and Parsoid installed on my wiki running MW 1.29.0 and it won't work. The Loading bar doesn't get to 100% and disappears before getting there. 67.244.49.134 (talk) 13:03, 5 August 2017 (UTC)
- Are Parsoid and the wiki installed on the same server?
- If you downloaded the VisualEditor with Git, be sure you executed
git submodule update --init. - Check you correctly registered the API of the wiki in Parsoid configuration, e.g. you open the Parsoid configuration file (config.yaml, either in /etc/mediawiki/parsoid (on Linux/Unix) either in the Parsoid (on Windows)), check the line
- uri: 'http://your-wiki-url.example.com/api.php'; if it is not configured correctly, fix it; else copy-paste the entire URL in your browser and you should obtain the MediaWiki API page. - If your wiki is private, you must add in your LocalSettings.php the instruction 'forwardCookies' (see Extension:VisualEditor#Forwarding Cookies to Parsoid). ~ Seb35 [^_^] 14:40, 5 August 2017 (UTC)
- Yes
- I already ran git submodule init and then git submodule update
- I did
- Itâs public not private
- I did not see anything wrong in the released error logs. 2002:43F4:3186:1234:7CC5:40B9:CB10:5531 (talk) 14:50, 5 August 2017 (UTC)
- *releated 2002:43F4:3186:1234:7CC5:40B9:CB10:5531 (talk) 14:53, 5 August 2017 (UTC)
- 6. Check the PHP extension 'curl' is installed (package php-curl on Debian/Ubuntu).
- 7. Check the TCP port is the same on VE side and Parsoid side (default port from VE side is 8000, default port on Parsoid side is 8000, but default port on Parsoid side from the Debian package is 8142).
- 8. Check the Parsoid is correctly responding on
http://your-parsoid-url.example.org:8000/localhost/v3/page/html/Main_Page/12?redirect=false(adapt your server and host, as well as the page name (Main_Page) and oldid (12 here, you can take 1 to be sure the oldid exists). - 9. Can you give the address of your wiki? ~ Seb35 [^_^] 15:14, 5 August 2017 (UTC)
- 6. It is installed.
- 7. It is. (Debian)
- 8. http://testwiki.wiki:8142 shows the welcome to parsoid page
- 9. https://testwiki.wiki 2002:43F4:3186:1234:903A:E1BF:CE37:5E29 (talk) 20:25, 8 August 2017 (UTC)
- 10. Given your wiki is on HTTPS, check you have the package "ca-certificates". And what is exactly your configuration for
$wgVirtualRestConfig['modules']['parsoid']in LocalSettings.php, and the'uri'key in /etc/mediawiki/parsoid/config.yaml? (I suspect some issue linked to HTTPS.) - I just checked your wiki: indeed everything seems to be fine except "?veaction=edit" does not fully launch the VisualEditor. Note that the Translate extension is hardly compatible with the VisualEditor (even if it would be an interesting feature), see phabricator:T140703 and phabricator:T55974.
- If the point 10 does not solve the issue, Iâm afraid that further steps involve deeper debugging. According to the page Manual:How to debug, can you add the following in your LocalSettings.php:
error_reporting( -1 );ini_set( 'display_errors', 1 );$wgShowExceptionDetails = true;$wgShowDebug = true;$wgDevelopmentWarnings = true;$wgDebugLogFile = '/var/log/mediawiki.log';- And check if some errors appears on the site and in the logfiles /var/log/mediawiki.log and in your server logs (access.log and error.log), first when loading a normal page, next when loading the visual editor. ~ Seb35 [^_^] 11:16, 14 August 2017 (UTC)
Visual Editor - Https SSL config - Windows Server
[edit]MW : 1.27
We need to configure Visual editor in private wiki over https.
stunnel package installed but we are getting curl 35 ssl error we are getting . please help to resolve the issue Rajeshrjsh (talk) 06:53, 28 August 2017 (UTC)
Math Module/Feature (Sigma Symbol)
[edit]The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
MW 1.28.2 VE REL1_28
Hi
where can I find the Math extension for the VisualEditor? I can't see the sigma symbol to add some formulae. I already found the BetaFeature extension site which states the math "module" as deployed.
Thanks in advance! Ouh and I run MW on a Windows machine. Lanthanis (talk) 17:22, 28 August 2017 (UTC)
- Just to confirm: Do you have Extension:Math installed on the wiki (i.e., already working in the old wikitext editors)? Whatamidoing (WMF) (talk) 16:30, 30 August 2017 (UTC)
- Hi, I found out that I need that particular extension. I had to search for this information.
- Thank you! Lanthanis (talk) 06:07, 31 August 2017 (UTC)
MW: 1.29.1. VisualEditor+Parsoid
[edit]I don't seem to be able to get this working... I'm running on the 1.29 git of VE and the latest Parsoid, but my editor keeps returning HTTP 500.... I installed everything correctly and my config is:
wfLoadExtension( 'VisualEditor' ); $wgDefaultUserOptions['visualeditor-enable'] = 1; $wgHiddenPrefs[] = 'visualeditor-enable'; $wgVirtualRestConfig['modules']['parsoid'] = array( 'url' => 'http://localhost:8142', );
Can anyone please help? thanks in advance! 91.199.124.66 (talk) 13:06, 31 August 2017 (UTC)
- and do you run the command:git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/VisualEditor.git Wang.carl (talk) 10:49, 2 September 2017 (UTC)
wfLoadExtension( 'VisualEditor' ); $wgDefaultUserOptions['visualeditor-enable'] = 1; $wgHiddenPrefs[] = 'visualeditor-enable'; $wgVirtualRestConfig['modules']['parsoid'] = array( 'url' => '<nowiki>http://localhost:8142'</nowiki>, 'Domain'=>'localhost' ); - Sorry ,I mean this one:git submodule update --init Wang.carl (talk) 10:54, 2 September 2017 (UTC)
- hi, spas:
- Do you solve this problem, can you tell us the result, thanks. Wang.carl (talk) 15:00, 8 September 2017 (UTC)
- Hi @Wang.carl I formatted the post, and I'm not the OP :) Since they don't post their Parsoid configuration, I think we can't help them. Also maybe there have HTTPS setup and Stunnel4 must be configured. Spas.Z.Spasov (talk) 08:47, 13 September 2017 (UTC)