Extension:ReviewAndMerge

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
Crystal Clear action run.svg
ReviewAndMerge
Release status: unmaintained
Implementation Page action, Special page
Description Review system for MediaWiki inspired by Git pull requests
Author(s) ShakePeers (Rudlofftalk)
Latest version 0.1.1
Database changes No
License GPL
Download
Parameters
$ReviewAndMergeNamespace
Hooks used
AlternateEdit
BeforePageDisplay
Translate the ReviewAndMerge extension if it is available at translatewiki.net
Check usage and version matrix.

The ReviewAndMerge extension adds a new workflow to some namespaces. When an article is in those namespaces, it can't be edited directly. Instead, editors will be redirected to a /Review subpage containing a copy of the article that they can edit. Then, the original creator of the article can inspect the diff between the original article and the review and can choose to apply the changes.

Installation[edit]

  • Download and place the file(s) in a directory called ReviewAndMerge in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/ReviewAndMerge/ReviewAndMerge.php";
    $ReviewAndMergeNamespace = NS_FOO;
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration parameters[edit]

$ReviewAndMergeNamespace 
Namespace for which the extension will be enabled.