MediaWiki
REL1_19
|
Public Member Functions | |
__construct ($handle) | |
atEnd () | |
readChunk () | |
Static Public Member Functions | |
static | newFromFile ($filename) |
static | newFromInterwiki ($interwiki, $page, $history=false, $templates=false, $pageLinkDepth=0) |
static | newFromUpload ($fieldname="xmlimport") |
static | newFromURL ($url, $method= 'GET') |
ImportStreamSource::__construct | ( | $ | handle | ) |
Definition at line 1498 of file Import.php.
Definition at line 1505 of file Import.php.
static ImportStreamSource::newFromFile | ( | $ | filename | ) | [static] |
$filename | string |
Definition at line 1520 of file Import.php.
References $file, Status\newFatal(), Status\newGood(), wfRestoreWarnings(), and wfSuppressWarnings().
Referenced by newFromUpload().
static ImportStreamSource::newFromInterwiki | ( | $ | interwiki, |
$ | page, | ||
$ | history = false , |
||
$ | templates = false , |
||
$ | pageLinkDepth = 0 |
||
) | [static] |
$interwiki | |
$page | |
$history | bool |
$templates | bool |
$pageLinkDepth | int |
Definition at line 1593 of file Import.php.
References $page, $url, Status\newFatal(), Title\newFromText(), and newFromURL().
Referenced by SpecialImport\doImport(), and ApiImport\execute().
static ImportStreamSource::newFromUpload | ( | $ | fieldname = "xmlimport" | ) | [static] |
$fieldname | string |
Definition at line 1534 of file Import.php.
References $fname, Status\newFatal(), and newFromFile().
Referenced by SpecialImport\doImport(), and ApiImport\execute().
static ImportStreamSource::newFromURL | ( | $ | url, |
$ | method = 'GET' |
||
) | [static] |
$url | |
$method | string |
Definition at line 1567 of file Import.php.
References $file, $url, Status\newFatal(), Status\newGood(), Http\request(), and wfDebug().
Referenced by newFromInterwiki().
Definition at line 1512 of file Import.php.