Extension:Duplicator
From MediaWiki.org
|
Duplicator Release status: beta |
|
|---|---|
| Implementation | Special page, Page action |
| Description | Special page to create independent copies of pages |
| Author(s) | Rob Church |
| Version | 1.1 (January 11, 2008) |
| MediaWiki | 1.7.0+ |
| Download | from Subversion |
| Hooks used |
LanguageGetSpecialPageAliases |
The Duplicator extension provides a special page which allows the creation of independent copies (with separate edit histories) of pages.
Contents |
[edit] Requirements
The Duplicator extension requires MediaWiki 1.7.0 or above.
- For MediaWiki 1.11.0 and above, use the trunk version
- For the MediaWiki 1.7, 1,8, 1.9 and 1.10 series, use the branched version
[edit] Installation
- Check out all extension files from Subversion and place them in a Duplicator subdirectory within your MediaWiki extensions directory
- Add the line
require_once( "{$IP}/extensions/Duplicator/Duplicator.php" );to your LocalSettings.php file
Installation can be verified through the Special:Version page on the wiki.
[edit] Usage
To duplicate an article, go to the Special:Duplicator page. On article pages, 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 that it is not possible to duplicate a page which has more revisions than the configured limit (see below), and it is not possible to overwrite an existing page.
[edit] Configuration
Pages with a number of revisions over a set limit cannot be copied via this extension, to avoid excessive write load.
The default limit is 250. To change it, set $wgDuplicatorRevisionLimit in LocalSettings.php, after the call to include the extension, e.g.
require_once( "{$IP}/extensions/Duplicator/Duplicator.php" );$wgDuplicatorRevisionLimit = 500;
[edit] Change log
A complete log of changes to the extension code (including internationalisation updates from third parties) is available from the Subversion log, however, summarised information on changes between point releases is given below:
| Version | Release Date | Comments |
|---|---|---|
| beta | 19/12/2006 | Beta release |
| beta | 24/12/2006 | Bug fixes, convenience links, permissions |
| beta | 01/06/2007 | Minor bug fix |
| beta | 11/01/2008 | uses wfLoadExtensionMessages now |

