|
MediaWiki
REL1_20
|
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 1538 of file Import.php.
References $file, $fname, $page, $params, $url, atEnd(), Status\newFatal(), newFromFile(), newFromInterwiki(), Title\newFromText(), newFromUpload(), newFromURL(), Status\newGood(), readChunk(), Http\request(), wfDebug(), wfRestoreWarnings(), and wfSuppressWarnings().
| static ImportStreamSource::newFromFile | ( | $ | filename | ) | [static] |
| $filename | string |
Definition at line 1560 of file Import.php.
Referenced by __construct().
| static ImportStreamSource::newFromInterwiki | ( | $ | interwiki, |
| $ | page, | ||
| $ | history = false, |
||
| $ | templates = false, |
||
| $ | pageLinkDepth = 0 |
||
| ) | [static] |
| $interwiki | |
| $page | |
| $history | bool |
| $templates | bool |
| $pageLinkDepth | int |
Definition at line 1633 of file Import.php.
Referenced by __construct(), SpecialImport\doImport(), and ApiImport\execute().
| static ImportStreamSource::newFromUpload | ( | $ | fieldname = "xmlimport" | ) | [static] |
| $fieldname | string |
Definition at line 1574 of file Import.php.
Referenced by __construct(), SpecialImport\doImport(), and ApiImport\execute().
| static ImportStreamSource::newFromURL | ( | $ | url, |
| $ | method = 'GET' |
||
| ) | [static] |
| $url | |
| $method | string |
Definition at line 1607 of file Import.php.
Referenced by __construct().