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

33 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
  • 436
  • 1
  • 11
  • 28
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
  • 1,937
  • 3
  • 19
  • 36
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
  • 1
  • 8
  • 24
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
  • 16,448
  • 25
  • 85
  • 133
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.
  • 103
  • 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,439
  • 1
  • 15
  • 20
2
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
  • 21
  • 1
1
vote
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…
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
vote
1 answer

Using Parsoid with Auth Remoteuser Extension on XAMPP (Windows)

I have been searching for the last week trying to find an answer on how to use Visual Editor/Parsoid and Auth Remoteuser extensions together. I am getting the following error when trying to Create/Edit a page: Error loading data from server:…
1
vote
1 answer

Standalone Mediawiki parsers to render content

Is there a standalone mediawiki parsers that takes content in mediawiki syntax, and returns HTML, without depending on a running Mediawiki instance. The use case is to call the standalone parser by passing in Mediawiki syntaxed content, and…
Neel Vasa
  • 129
  • 1
  • 7
1
vote
1 answer

Trouble with Parsoid and Visual Editor for Mediawiki

Mediawiki Version 1.27 Visual Editor Version 1.27 Parsoid Version latest in repository So I have several web servers running on an Ubuntu VM. The hostname is "atocha". I have Apache running on port 8000. Under this I have a Mediawiki instance.…
Setix
  • 121
  • 1
  • 16
1
2 3