Open main menu

Extension:ParserMigration

MediaWiki extensions manual
OOjs UI icon advanced.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 was deployed on the Wikimedia production cluster until 2018 to compare Tidy-based output with a RemexHTML-based output. RemexHTML is the replacement for Tidy.

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

InstallationEdit

  • 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' );
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

See alsoEdit