MediaWiki
REL1_19
|
MediaWiki page data importer. More...
Public Member Functions | |
__construct () | |
Constructor. | |
execute ($par) | |
Execute. | |
Private Member Functions | |
doImport () | |
Do the actual import. | |
showForm () | |
Private Attributes | |
$frompage = '' | |
$history = true | |
$includeTemplates = false | |
$interwiki = false | |
$logcomment = false | |
$namespace | |
$pageLinkDepth |
MediaWiki page data importer.
Definition at line 32 of file SpecialImport.php.
SpecialImport::doImport | ( | ) | [private] |
Do the actual import.
Definition at line 93 of file SpecialImport.php.
References $out, $result, $user, $wgExportMaxLinkDepth, $wgImportSources, SpecialPage\getContext(), SpecialPage\getOutput(), SpecialPage\getRequest(), SpecialPage\getUser(), Status\newFatal(), ImportStreamSource\newFromInterwiki(), and ImportStreamSource\newFromUpload().
Referenced by execute().
SpecialImport::execute | ( | $ | par | ) |
Execute.
Reimplemented from SpecialPage.
Definition at line 54 of file SpecialImport.php.
References $user, SpecialPage\checkReadOnly(), doImport(), SpecialPage\getRequest(), SpecialPage\getTitle(), SpecialPage\getUser(), SpecialPage\outputHeader(), SpecialPage\setHeaders(), showForm(), and wfMergeErrorArrays().
SpecialImport::showForm | ( | ) | [private] |
Definition at line 172 of file SpecialImport.php.
References $out, $user, $wgExportMaxLinkDepth, $wgImportSources, Xml\checkLabel(), Xml\closeElement(), Xml\fieldset(), SpecialPage\getOutput(), SpecialPage\getTitle(), SpecialPage\getUser(), Html\hidden(), Xml\input(), Xml\label(), Xml\namespaceSelector(), Xml\openElement(), Xml\option(), Xml\submitButton(), Linker\tooltipAndAccesskeyAttribs(), wfMsg(), and wfMsgExt().
Referenced by execute().
SpecialImport::$frompage = '' [private] |
Definition at line 36 of file SpecialImport.php.
SpecialImport::$history = true [private] |
Definition at line 38 of file SpecialImport.php.
SpecialImport::$includeTemplates = false [private] |
Definition at line 39 of file SpecialImport.php.
SpecialImport::$interwiki = false [private] |
Definition at line 34 of file SpecialImport.php.
SpecialImport::$logcomment = false [private] |
Definition at line 37 of file SpecialImport.php.
SpecialImport::$namespace [private] |
Definition at line 35 of file SpecialImport.php.
SpecialImport::$pageLinkDepth [private] |
Definition at line 40 of file SpecialImport.php.