Extension:ParserMigration

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
Crystal Clear action run.svg
ParserMigration
Release status: stable
Implementation User interface
Description Provides an interface for migrating article text to new versions of the MediaWiki parser
Author(s) Tim Starlingtalk
Latest version Continuous updates
Compatibility policy release branches
MediaWiki 1.28+
PHP 5.5+
Database changes No
License Creative Commons Zero v1.0 Universal
Download
Hooks used
GetPreferences
BaseTemplateToolbox
Translate the ParserMigration extension if it is available at translatewiki.net
Check usage and version matrix.

The ParserMigration extension was introduced in gerrit:296182. It provides an interface for comparing article rendering with a new non-default version of the MediaWiki parser thus serving as a parser migration tool.

It is currently deployed on the Wikimedia production cluster to compare Tidy-based output with a RemexHTML-based output. RemexHTML is a proposed replacement for Tidy.

The availability of the tool can be controlled by a user via the "parsermigration" preference option.

Installation[edit source]

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

See also[edit source]