Difference between revisions of "Duplicator"

From Wiki4Intranet
Jump to: navigation, search
(Created page with "{{Extension4info |name=Duplicator |description en=Create independent copies of pages, possibly with full edit histories and subpage support. |description ru=Клонирова...")
 
(No difference)

Latest revision as of 17:47, 29 May 2013

Duplicator is a MediaWiki extension.

Status for Mediawiki4Intranet distribution:

  • Inclusion date: 2013-05-29
  • Included version: newest available
  • Improvement status: Minor improvements in MediaWiki4Intranet

Usage

After installation every user who's granted the 'duplicate' right will see "Duplicate this page" link in the toolbox. The extension can be used by clicking this link, or by directly going to Special:Duplicator.

On the special page, you need to specify source and destination articles and select whether you want to:

  • Copy talk page
  • Copy subpages
  • Copy history of pages

Our improvements

  • Allow to clone pages with or without history
  • Do not refuse to clone pages with revision count exceeding $wgDuplicatorRevisionLimit, just copy its recent $wgDuplicatorRevisionLimit revisions.
  • Report copied revision count and include last revision number in copied article summary
  • Allow to clone subpages along with the main page

Installation

Add the following into your LocalSettings.php:

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

You can configure the 'duplicate' grant and maximum cloned revision count via:

$wgGroupPermissions['user']['duplicate'] = true;
$wgDuplicatorRevisionLimit = 250;