MediaWiki extensions manual
Duplicator
Release status: unmaintained
Implementation Special page , Page action
Description Allows to create independent copies of pages
Author(s)
  • Rob Church,
  • Vitaliy Filippov
Latest version 1.5.0 (2020-12-23)
MediaWiki 1.31.x - 1.35.x only
Database changes No
License GNU General Public License 2.0 or later
Download
Parameters
  • $wgDuplicatorRevisionLimit
Added rights
duplicate
Hooks used
  • SkinTemplateBuildNavUrlsNav_urlsAfterPermalink
  • MonoBookTemplateToolboxEnd
Quarterly downloads 18 (Ranked 152nd)
Translate the Duplicator extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

The Duplicator extension provides a special page which allows the creation of independent copies (with separate edit histories) of pages.

Installation

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

Configuration

$wgDuplicatorRevisionLimit
Pages with a large number of revisions cannot be copied if the set limit (default is 250) is exceeded to avoid excessive write load.

Usage

To duplicate an article, go to the "Special:Duplicator" page. On article pages (and for monobook skin only) a convenient link is provided in the toolbox which will pre-populate the source page title when used.

Enter the title of the article to be copied and the destination title in the appropriate fields, and select whether or not to duplicate the associated discussion page. The latter option will not be presented if the discussion page does not exist.

Click the Duplicate button to perform the operation. You will be advised when this is complete, or in the case of errors. The copy will be logged in the destination page history, and an entry will be created in the recent changes list.

Note Note: It is not possible to duplicate a page which has more revisions than the configured limit (see above). It is also not possible to overwrite an existing page.

This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.