MediaWiki  REL1_19
SpecialImport Class Reference

MediaWiki page data importer. More...

Inheritance diagram for SpecialImport:
Collaboration diagram for SpecialImport:

List of all members.

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

Detailed Description

MediaWiki page data importer.

Definition at line 32 of file SpecialImport.php.


Constructor & Destructor Documentation

Constructor.

Definition at line 45 of file SpecialImport.php.

References $wgImportTargetNamespace.


Member Function Documentation

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().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

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.


The documentation for this class was generated from the following file: