MediaWiki
1.34.4
|
Imports a XML dump from a file (either from file upload, files on disk, or HTTP) More...
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') |
Private Attributes | |
resource | $mHandle |
Imports a XML dump from a file (either from file upload, files on disk, or HTTP)
Definition at line 32 of file ImportStreamSource.php.
ImportStreamSource::__construct | ( | $handle | ) |
resource | $handle |
Definition at line 39 of file ImportStreamSource.php.
ImportStreamSource::atEnd | ( | ) |
|
static |
string | $filename |
Definition at line 61 of file ImportStreamSource.php.
References $file, StatusValue\newFatal(), and StatusValue\newGood().
Referenced by newFromUpload().
|
static |
string | $interwiki | |
string | $page | |
bool | $history | |
bool | $templates | |
int | $pageLinkDepth |
Definition at line 149 of file ImportStreamSource.php.
References StatusValue\newFatal(), newFromURL(), and wfAppendQuery().
Referenced by SpecialImport\doImport(), and ApiImport\execute().
|
static |
string | $fieldname |
Definition at line 75 of file ImportStreamSource.php.
References StatusValue\newFatal(), and newFromFile().
Referenced by SpecialImport\doImport(), and ApiImport\execute().
|
static |
string | $url | |
string | $method |
Definition at line 114 of file ImportStreamSource.php.
References $file, $wgHTTPImportTimeout, StatusValue\newFatal(), StatusValue\newGood(), and wfDebug().
Referenced by newFromInterwiki().
ImportStreamSource::readChunk | ( | ) |
|
private |
Definition at line 34 of file ImportStreamSource.php.