$source = ImportStreamSource::newFromInterwiki(
$params['interwikisource'],
$params['interwikipage'],
- $params['fullhistory']);
+ $params['fullhistory']
+ $params['templates'] );
}
else
{
),
'interwikipage' => null,
'fullhistory' => false,
+ 'templates' => false,
'namespace' => array(
ApiBase :: PARAM_TYPE => 'namespace'
)
'interwikisource' => 'For interwiki imports: wiki to import from',
'interwikipage' => 'For interwiki imports: page to import',
'fullhistory' => 'For interwiki imports: import the full history, not just the current version',
+ 'templates' => 'For interwiki imports: import all included templates as well',
'namespace' => 'For interwiki imports: import to this namespace',
);
}