Questions tagged [parsoid]

Parsoid is a web service for translating back and forth between MediaWiki's wikitext syntax and an equivalent HTML/RDFa document model with enhanced support for automated processing and rich editing.

Parsoid is a web service for translating back and forth between MediaWiki's wikitext syntax and an equivalent HTML/RDFa document model with enhanced support for automated processing and rich editing. It is mainly used for VisualEditor, Wikipedia's rich editor

37 questions
4
votes
0 answers

MediaWiki visual editor configuration

I'm trying to get the MediaWiki visual editor extension working on a shared host. I have completed the installation as per the instructions given (here). When trying to access the heroku app, I had got an application error. As per discussion here I…
Manesh
  • 586
  • 3
  • 14
  • 31
3
votes
1 answer

VisualEditor not connecting to Parsoid server in MediaWiki 1.35

I'm trying to set up a MediaWiki wiki in Docker. I am using the official MedaiWiki image here, version 1.35.1 . Once I get the wiki up and running, I run into this issue when attempting to run the VisualEditor. I'm a little confused about why the…
3
votes
0 answers

How to use Parsoid to convert wikitext to html (instead of a full html page with extra info)

Both parsoid and parsoid-jsapi give you a .parse(... function to parse wikitext to html, but I'm having trouble getting a clean html string. Say I want to parse This is [[it]] I do this: var parsoid = require('parsoid-jsapi') ||…
01AutoMonkey
  • 2,515
  • 4
  • 29
  • 47
3
votes
2 answers

Trouble with VisualEditor in mediawiki

Hi I've installed mediawiki 1.26.2 with the extensión Visual Editor, nodejs and parsoid, the question is that when I start parsoid, it seems every process is working right but the the configuration of parsoid and visualeditor, I can't see any editor…
makaflay
  • 31
  • 2
3
votes
2 answers

How Do I Install MediaWiki Parsoid on Windows

I am attempting to get VisualEditor for MediaWiki set up and configured on Windows. (Server 2012 R2 Core) I am following the steps here : https://www.mediawiki.org/wiki/Parsoid/Developer_Setup The page states : As of April 2015, the html5 package…
leinad13
  • 445
  • 2
  • 8
  • 26
3
votes
0 answers

Parsoid with MediaWiki VisualEditor returning 500

I configured a Parsoid service for the Visual Editor for MediaWiki 1.24.1, configured as a private wiki. I can access both the api endpoint and the parsoid endpoint, but when I try to start editing using the VisualEditor I get this error: Erro ao…
Ivan
  • 19,560
  • 31
  • 97
  • 141
2
votes
1 answer

Mediawiki 1.37 - VisualEditor - "Error contacting the Parsoid/RESTBase server: (curl error: 28) Timeout was reached" (sometimes not always)

Please help, I am stuck. :) I've searched related threads which could not help me. My version of Mediawiki is 1.37.2 While editing a page with VisualEditor, I sometimes get the following error (Sometimes it works, sometimes I get the error ; it can…
2
votes
0 answers

Error contacting the Parsoid/RESTBase server: (curl error: 28) Timeout was reached

I'm using mediawiki 1.35 on Ubuntu 20.04 LTS. Problems occur when using Visual Editor. A document of a typical length works well, but if the document contains a lot of sentences or is excessively long, the following occurs: (1) When switching from…
243Stephen
  • 21
  • 1
2
votes
1 answer

MediaWiki 1.27 VisualEditor extension not loading

We are running a private MediaWiki server used at our workspace for internal documentation. We recently installed the VisualEditor extension, along with the prerequisite Parsoid (v0.8.0) service and Stunnel (as our wiki is served through HTTPS).…
Sean M.
  • 113
  • 2
  • 7
2
votes
1 answer

Parsoid - parse wikitext locally

Is that even possible? I am not sure, if I understand the project properly. I am trying to parse a big amount of wikitext into html using the Parsoid-JSAPI project. Parsing works fine, but it is still calling the wikimedia API. I have run the…
prespic
  • 1,635
  • 1
  • 17
  • 20
1
vote
0 answers

How to use thenets/parsoid from Docker in Windows 10 to convert a local text file to html?

I've installed thenets/parsoid on Docker on Windows 10. I want to convert the text pomme.txt with directory path F:\zim\pomme.txt to html. I tried docker run --name myparsoid -d -t -i -v /f/zim:/zim thenets/parsoid:latest sh type /zim/pomme.txt |…
Akira
  • 2,594
  • 3
  • 20
  • 45
1
vote
0 answers

How to troublehoot VisualEditor (specifically 500 error)

I am configuring VisualEditor for a mediawiki site. I've confirmed Parsoid is running on http://localhost:8000/ but I am still getting an error: Error loading data from server: apierror-visualeditor-docserver-http: HTTP 500. I'm not really sure…
1
vote
0 answers

VisualEditor problem-404 error-curl7 error

my wiki : Product Version MediaWiki 1.32.0 PHP 7.0.33-0ubuntu0.16.04.5 (apache2handler) MySQL 5.7.25-0ubuntu0.16.04.2 ICU 55.1 Lua 5.1.5 link: wikijoo.ir my config.yaml seup: worker_heartbeat_timeout: 300000 logging: level:…
1
vote
1 answer

MediaWiki - VisualEditor Extension: (curl error: 28) Timeout was reached

I am getting the following error displayed while trying to edit a page with the aid of Visual Editor (It did not work previously yet): Error loading data from server: apierror-visualeditor-docserver-http-error: (curl error: 28) Timeout was reached.…
ay43210
  • 15
  • 1
  • 9
1
vote
1 answer

apierror-visualeditor-docserver-http-error: (curl error: 7) Couldn't connect to server

I build container: docker build -t mediawiki31 . Dockerfile with wikimedia (standard file plus adding VisualEditor): FROM php:7.2-apache # System Dependencies. RUN apt-get update && apt-get install -y \ git \ imagemagick \ …
1
2 3