BlueSpice MediaWiki REL1_27
 All Classes Namespaces Files Functions Variables Groups Pages
Duplicator.php File Reference

Functions

 efDuplicatorNavigation (&$skin, &$nav_urls, &$oldid, &$revid)
 
 efDuplicatorToolbox (&$monobook)
 

Variables

 $wgExtensionCredits ['specialpage'][]
 
 $dir = dirname(__FILE__) . '/'
 
 $wgMessagesDirs ['Duplicator'] = __DIR__ . '/i18n'
 
 $wgExtensionMessagesFiles ['Duplicator'] = $dir . 'Duplicator.i18n.php'
 
 $wgExtensionMessagesFiles ['DuplicatorAlias'] = $dir . 'Duplicator.alias.php'
 
 $wgAutoloadClasses ['SpecialDuplicator'] = $dir . 'Duplicator.page.php'
 
 $wgSpecialPages ['Duplicator'] = 'SpecialDuplicator'
 
 $wgHooks ['SkinTemplateBuildNavUrlsNav_urlsAfterPermalink'][] = 'efDuplicatorNavigation'
 
 $wgHooks ['SkinTemplateToolboxEnd'][] = 'efDuplicatorToolbox'
 
 $wgGroupPermissions ['user']['duplicate'] = true
 
 $wgAvailableRights [] = 'duplicate'
 
 $wgDuplicatorRevisionLimit = 250
 

Detailed Description

Special page which creates independent copies of articles, retaining separate histories

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Author
Rob Church robch.nosp@m.ur@g.nosp@m.mail..nosp@m.com
Vitaliy Filippov vital.nosp@m.if@m.nosp@m.ail.r.nosp@m.u

Function Documentation

efDuplicatorNavigation ( $skin,
$nav_urls,
$oldid,
$revid 
)

Build the link to be shown in the toolbox if appropriate

Parameters
$skinSkin
efDuplicatorToolbox ( $monobook)

Output the toolbox link if available

Variable Documentation

$wgDuplicatorRevisionLimit = 250

At most this number of recent revisions will be duplicated

$wgExtensionCredits['specialpage'][]
Initial value:
= array(
'path' => __FILE__,
'name' => 'Duplicator',
'version' => '1.4.0',
'author' => array('Rob Church', 'Vitaliy Filippov'),
'url' => 'https://www.mediawiki.org/wiki/Extension:Duplicator',
'descriptionmsg' => 'duplicator-desc',
'license-name' => 'GPL-2.0+',
)
$wgGroupPermissions['user']['duplicate'] = true

User permissions