Public Member Functions | |
__construct () | |
Constructor. | |
execute ($par) | |
Execute. | |
Private Member Functions | |
doImport () | |
Do the actual import. | |
showForm () | |
Private Attributes | |
$interwiki = false | |
$namespace | |
$frompage = '' | |
$logcomment = false | |
$history = true | |
$includeTemplates = false |
Definition at line 26 of file SpecialImport.php.
SpecialImport::__construct | ( | ) |
SpecialImport::doImport | ( | ) | [private] |
Do the actual import.
Definition at line 68 of file SpecialImport.php.
References $result, $source, $wgExportMaxLinkDepth, $wgImportSources, $wgOut, $wgRequest, $wgUser, WikiError::isError(), ImportStreamSource::newFromInterwiki(), and ImportStreamSource::newFromUpload().
Referenced by execute().
SpecialImport::execute | ( | $ | par | ) |
Execute.
Reimplemented from SpecialPage.
Definition at line 47 of file SpecialImport.php.
References $wgOut, $wgRequest, doImport(), SpecialPage::outputHeader(), SpecialPage::setHeaders(), showForm(), and wfReadOnly().
SpecialImport::showForm | ( | ) | [private] |
Definition at line 134 of file SpecialImport.php.
References $action, $prefix, $wgExportMaxLinkDepth, $wgImportSources, $wgOut, $wgRequest, $wgTitle, $wgUser, Xml::checkLabel(), Xml::closeElement(), Xml::fieldset(), Xml::hidden(), Xml::input(), Xml::label(), Xml::namespaceSelector(), Xml::openElement(), Xml::option(), Xml::submitButton(), wfMsg(), and wfMsgExt().
Referenced by execute().
SpecialImport::$frompage = '' [private] |
Definition at line 30 of file SpecialImport.php.
SpecialImport::$history = true [private] |
Definition at line 32 of file SpecialImport.php.
SpecialImport::$includeTemplates = false [private] |
Definition at line 33 of file SpecialImport.php.
SpecialImport::$interwiki = false [private] |
Definition at line 28 of file SpecialImport.php.
SpecialImport::$logcomment = false [private] |
Definition at line 31 of file SpecialImport.php.
SpecialImport::$namespace [private] |
Definition at line 29 of file SpecialImport.php.