Extension:Parsoid

From MediaWiki.org
Jump to: navigation, search


MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png
Parsoid

Release status:Extension status unmaintained

DescriptionTemplate:Extension#description Populate a Parsoid cache of pages on editing
Author(s)Template:Extension#username Parsoid team
MediaWikiTemplate:Extension#mediawiki 1.22 - 1.23
PHPTemplate:Extension#php 5.3+
Database changesTemplate:Extension#needs-updatephp No
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
Download

Translate the Parsoid extension if it is available at translatewiki.net

Check usage and version matrix.

Issues:

Open tasks · Report a bug

Extension:Parsoid is not actually the Parsoid service. If you are trying to install Parsoid, you should follow the instructions at Extension:VisualEditor.

This PHP extension populates and coordinates a cache with content generated by Parsoid to make cached pages immediately available for users. It is no longer in use; it has been replaced with RESTBase.

Required for MediaWiki 1.23 users of VisualEditor[edit]

For MediaWiki 1.23 users, it also provides a styling module that is a dependency of VisualEditor, so this extension must be installed for VisualEditor to work on MediaWiki 1.23. From MediaWiki 1.24 onwards, this styling module was upstreamed into MediaWiki itself, and so this extension is not required (although you must still install the Parsoid server itself) unless you have a deployed Varnish cache.

Installing[edit]

  • Download and place the file(s) in a directory called Parsoid in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
wfLoadExtension( 'Parsoid' );
  • YesY Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

To users running MediaWiki 1.24 or earlier:

The instructions above describe the new way of installing extensions using wfLoadExtension(), since MediaWiki 1.25. If you need to install this extension in earlier versions, instead of wfLoadExtension( 'Parsoid' );, you need to use:

require_once "$IP/extensions/Parsoid/Parsoid.php";