Difference between revisions of "Reference:Duplicator"
Simple duplication of articles
The Duplicator extension provides a special page which allows the creation of independent copies (with separate edit histories) of pages.Contents
- 1 Installation[<a href="https://www.mediawiki.org/w/index.php?title=Extension:Duplicator&action=edit§ion=1" title="Edit section: Installation">edit]
- 2 Configuration[<a href="https://www.mediawiki.org/w/index.php?title=Extension:Duplicator&action=edit§ion=2" title="Edit section: Configuration">edit]
- 3 Usage[<a href="https://www.mediawiki.org/w/index.php?title=Extension:Duplicator&action=edit§ion=3" title="Edit section: Usage">edit]
- 4 See also[<a href="https://www.mediawiki.org/w/index.php?title=Extension:Duplicator&action=edit§ion=4" title="Edit section: See also">edit]
-
Download and place the file(s) in a directory called
Duplicator
in yourextensions/
folder.
-
Add the following code at the bottom of your LocalSettings.php:
<span class="k">require_once</span> <span class="s2">"</span><span class="si">$IP</span><span class="s2">/extensions/Duplicator/Duplicator.php"</span><span class="p">;</span>
- Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
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.
<span class="k">require_once</span> <span class="s2">"</span><span class="si">$IP</span><span class="s2">/extensions/Duplicator/Duplicator.php"</span><span class="p">;</span>
<span class="nv">$wgDuplicatorRevisionLimit</span> <span class="o">=</span> <span class="mi">500</span><span class="p">;</span>
Extension: Duplicator
Overview | |||
---|---|---|---|
Description: | Provides a page to simply create copies of articles. | ||
State: | stable | Dependency: | MediaWiki |
Developer: | Rob Church, Vitaliy Filippov | License: | - |
Type: | MediaWiki | Category: | Administration |
Edition: | BlueSpice pro, BlueSpice Farm | ||
Features[edit source]
Duplicator extension provides a special page which allows the creation of independent copies (with separate edit histories) of pages.
Usage / features[edit | edit source]
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 This 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.
18x22px 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.
See also[<a href="https://www.mediawiki.org/w/index.php?title=Extension:Duplicator&action=edit§ion=4" title="Edit section: See also">edit][edit | edit source]- Extension:Multiplicator which extends Duplicator by allowing several creations of copies on subpages of destination.
Simple duplication of articles The '''Duplicator''' extension provides a special page which allows the creation of independent copies (with separate edit histories) of pages. ==<span id="Installation" class="mw-headline">Installation</span><span class="mw-editsection"><span class="mw-editsection-bracket">[<a href="https://www.mediawiki.org/w/index.php?title=Extension:Duplicator&action=edit§ion=1" title="Edit section: Installation">edit]</span></span>== * [https://www.mediawiki.org/wiki/Special:ExtensionDistributor/Duplicator Download] and place the file(s) in a directory called <code>Duplicator</code> in your <code>extensions/</code> folder. * Add the following code at the bottom of your [{{BSExtensionInfobox |desc=Provides a page to simply create copies of articles. |status=stable |developer=Rob Church, Vitaliy Filippov |type=MediaWiki |edition=BlueSpice pro, BlueSpice Farm |compatible=MediaWiki |category=Administration |docu=https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:LocalSettings.php LocalSettings.php]:<div class="mw-highlight mw-content-ltr" dir="ltr"></div> <pre><span class="k">require_once</span> <span class="s2">"</span><span class="si">$IP</span><span class="s2">/extensions/Duplicator/Duplicator.php"</span><span class="p">;</span> </pre> * '''Done''' - Navigate to Special:Version on your wiki to verify that the extension is successfully installed. ==<span id="Configuration" class="mw-headline">Configuration</span><span class="mw-editsection"><span class="mw-editsection-bracket">[<a href="https://www.mediawiki.org/w/index.php?title=Extension:Duplicator&action=edit§ion=2" title="Edit section: Configuration">edit]</span></span>== 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 <tt>$wgDuplicatorRevisionLimit</tt> in <tt>LocalSettings.php</tt>, ''after'' the call to include the extension, e.g. <div class="mw-highlight mw-content-ltr" dir="ltr"> <pre><span class="k">require_once</span> <span class="s2">"</span><span class="si">$IP</span><span class="s2">/extensions/Duplicator/Duplicator.php"</span><span class="p">;</span> <span class="nv">$wgDuplicatorRevisionLimit</span> <span class="o">=</span> <span class="mi">500</span><span class="p">;</span> </pre></div> ==<span id="Usage" class="mw-headline">Usage</span><span class="mw-editsection"><span class="mw-editsection-bracket">[<a href="https://www.mediawiki.org/w/index.php?title=Extension:Duplicator&action=edit§ion=3" title="Edit section: Usage">edit]</span></span>==Extension:Duplicator |active=Yes }} '''Duplicator''' extension provides a special page which allows the creation of independent copies (with separate edit histories) of pages. == Usage / features == 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 This 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. [[18x22px]] '''Note:''' It is not possible to duplicate a page which has more revisions than the configured limit (see [https://www.mediawiki.org/wiki/Extension:Duplicator#Configuration above]). . It is also not possible to overwrite an existing page. ==<span id="See_also" class="mw-headline">See also</span><span class="mw-editsection"><span class="mw-editsection-bracket">[<a href="https://www.mediawiki.org/w/index.php?title=Extension:Duplicator&action=edit§ion=4" title="Edit section: See also">edit]</span></span>== * [https://www.mediawiki.org/wiki/Extension:Multiplicator Extension:Multiplicator] which extends Duplicator by allowing several creations of copies on subpages of destination. '''Source: [https://www.mediawiki.org/wiki/Extension:Duplicator mediawiki]'''
(21 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{BSExtensionInfobox | |
+ | |desc=Provides a page to simply create copies of articles. | ||
+ | |status=stable | ||
+ | |developer=Rob Church, Vitaliy Filippov | ||
+ | |type=MediaWiki | ||
+ | |edition=BlueSpice pro, BlueSpice Farm | ||
+ | |compatible=MediaWiki | ||
+ | |category=Administration | ||
+ | |docu=https://www.mediawiki.org/wiki/Extension:Duplicator | ||
+ | |active=Yes | ||
+ | }} | ||
+ | '''Duplicator''' extension provides a special page which allows the creation of independent copies (with separate edit histories) of pages. | ||
+ | == Usage / features == | ||
+ | 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. This 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:''' It is not possible to duplicate a page which has more revisions than the configured limit. It is also not possible to overwrite an existing page. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |