MediaWiki
REL1_22
|
MediaWiki page data importer. More...
Public Member Functions | |
__construct () | |
Constructor. | |
execute ($par) | |
Execute. | |
Protected Member Functions | |
getGroupName () | |
Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'. | |
Private Member Functions | |
doImport () | |
Do the actual import. | |
showForm () | |
Private Attributes | |
$frompage = '' | |
$history = true | |
$includeTemplates = false | |
$interwiki = false | |
$logcomment = false | |
$namespace | |
$pageLinkDepth | |
$rootpage = '' |
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, $source, $user, array(), SpecialPage\getContext(), SpecialPage\getOutput(), SpecialPage\getRequest(), SpecialPage\getUser(), global, 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, array(), SpecialPage\checkReadOnly(), doImport(), SpecialPage\getRequest(), SpecialPage\getTitle(), SpecialPage\getUser(), SpecialPage\outputHeader(), SpecialPage\setHeaders(), showForm(), and wfMergeErrorArrays().
SpecialImport::getGroupName | ( | ) | [protected] |
Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'.
Reimplemented from SpecialPage.
Definition at line 399 of file SpecialImport.php.
SpecialImport::showForm | ( | ) | [private] |
Definition at line 203 of file SpecialImport.php.
References $out, $user, array(), as, Xml\checkLabel(), Xml\closeElement(), empty, Xml\fieldset(), SpecialPage\getOutput(), SpecialPage\getTitle(), SpecialPage\getUser(), global, Html\hidden(), Xml\input(), Html\input(), Xml\label(), SpecialPage\msg(), Html\namespaceSelector(), Xml\openElement(), Xml\option(), Xml\submitButton(), text, and Linker\tooltipAndAccesskeyAttribs().
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 33 of file SpecialImport.php.
SpecialImport::$logcomment = false [private] |
Definition at line 37 of file SpecialImport.php.
SpecialImport::$namespace [private] |
Definition at line 34 of file SpecialImport.php.
SpecialImport::$pageLinkDepth [private] |
Definition at line 40 of file SpecialImport.php.
SpecialImport::$rootpage = '' [private] |
Definition at line 35 of file SpecialImport.php.