Topic on Talk:Parsoid

Multiple wikis same parsoid server

2
Summary by Arlolra

User disappeared

Dimassc (talkcontribs)

Hi,

I've a MediaWiki 1.35 (WikiA) running on ServerA with PHP 7.4 and a MediaWiki 1.33 (WikiB) running on ServerB with PHP 7.0. Is it possible to configure WikiB to use the Parsoid integrated with the WikiA? Or I've to deploy a Parsoid on ServerB?

WikiA was upgrated recently from an older MW version. Until then I had the WikiB working with a shared Parsoid on ServerA like this:

$wgVirtualRestConfig['modules']['parsoid'] = array(

  'url' => 'http://ServerA:8142',
  'domain' => 'ServerB',
  'prefix' => 'ServerB',
  'forwardCookies' => true

);

SSastry (WMF) (talkcontribs)

Are you talking about the JS version of Parsoid or the PHP version of Parsoid?

If the PHP version, each wiki comes with its own Parsoid libraries. And, since, Parsoid/PHP needs PHP 7.2 at the minimum so you cannot run wikiB with the PHP version of Parsoid.