|
MediaWiki
1.23.0
|

Public Member Functions | |
| downloadSource () | |
| getAction () | |
| getArchiveName () | |
| getComment () | |
| getContent () | |
| getFilename () | |
| getFileSrc () | |
| getFormat () | |
| getID () | |
| getMinor () | |
| getModel () | |
| getParams () | |
| getSha1 () | |
| getSize () | |
| getSrc () | |
| getText () | |
| getTimestamp () | |
| getTitle () | |
| getType () | |
| getUser () | |
| importLogItem () | |
| importOldRevision () | |
| importUpload () | |
| isTempSrc () | |
| setAction ( $action) | |
| setArchiveName ( $archiveName) | |
| setComment ( $text) | |
| setFilename ( $filename) | |
| setFileSrc ( $src, $isTemp) | |
| setFormat ( $format) | |
| setID ( $id) | |
| setMinor ( $minor) | |
| setModel ( $model) | |
| setNoUpdates ( $noupdates) | |
| setParams ( $params) | |
| setSha1Base36 ( $sha1base36) | |
| setSize ( $size) | |
| setSrc ( $src) | |
| setText ( $text) | |
| setTimestamp ( $ts) | |
| setTitle ( $title) | |
| setType ( $type) | |
| setUserIP ( $ip) | |
| setUsername ( $user) | |
Public Attributes | |
| $action = "" | |
| $archiveName = '' | |
| $comment = "" | |
| $content = null | |
| $fileIsTemp | |
| $fileSrc = '' | |
| $format = null | |
| $id = 0 | |
| $importer = null | |
| $isTemp = false | |
| $minor = false | |
| $model = null | |
| $params = "" | |
| $sha1base36 = false | |
| $text = "" | |
| $timestamp = "20010115000000" | |
| Title | $title = null |
| $type = "" | |
| $user = 0 | |
| $user_text = "" | |
Private Attributes | |
| $mNoUpdates = false | |
| WikiRevision::downloadSource | ( | ) |
Definition at line 1566 of file Import.php.
References $f, Http\get(), getSrc(), global, wfDebug(), and wfTempDir().
Referenced by importUpload().
| WikiRevision::getAction | ( | ) |
Definition at line 1367 of file Import.php.
References $action.
Referenced by importLogItem().
| WikiRevision::getArchiveName | ( | ) |
Definition at line 1346 of file Import.php.
References $archiveName.
Referenced by importUpload().
| WikiRevision::getComment | ( | ) |
Definition at line 1294 of file Import.php.
References $comment.
Referenced by importLogItem(), importOldRevision(), and importUpload().
| WikiRevision::getContent | ( | ) |
Definition at line 1255 of file Import.php.
References $content, content, getFormat(), getModel(), getTitle(), ContentHandler\makeContent(), and text.
Referenced by importOldRevision().
| WikiRevision::getFilename | ( | ) |
Definition at line 1339 of file Import.php.
| WikiRevision::getFileSrc | ( | ) |
Definition at line 1325 of file Import.php.
References $fileSrc.
Referenced by importUpload().
| WikiRevision::getFormat | ( | ) |
Definition at line 1283 of file Import.php.
References $format, format, ContentHandler\getForTitle(), and getTitle().
Referenced by getContent(), and importOldRevision().
| WikiRevision::getID | ( | ) |
| WikiRevision::getMinor | ( | ) |
| WikiRevision::getModel | ( | ) |
Definition at line 1272 of file Import.php.
References $model, and getTitle().
Referenced by getContent(), and importOldRevision().
| WikiRevision::getParams | ( | ) |
| WikiRevision::getSha1 | ( | ) |
Definition at line 1315 of file Import.php.
References wfBaseConvert().
Referenced by importUpload().
| WikiRevision::getSize | ( | ) |
| WikiRevision::getSrc | ( | ) |
| WikiRevision::getText | ( | ) |
Definition at line 1246 of file Import.php.
References $text, and ContentHandler\deprecated().
| WikiRevision::getTimestamp | ( | ) |
Definition at line 1230 of file Import.php.
References $timestamp.
Referenced by importUpload().
| WikiRevision::getTitle | ( | ) |
Definition at line 1216 of file Import.php.
References $title.
Referenced by getContent(), getFormat(), getModel(), importLogItem(), and importUpload().
| WikiRevision::getType | ( | ) |
Definition at line 1360 of file Import.php.
References $type.
Referenced by importLogItem().
| WikiRevision::getUser | ( | ) |
Definition at line 1237 of file Import.php.
References $user_text.
Referenced by importOldRevision().
| WikiRevision::importLogItem | ( | ) |
Definition at line 1454 of file Import.php.
References $params, action, array(), DB_MASTER, getAction(), getComment(), getTitle(), getType(), User\idFromName(), type, wfDebug(), and wfGetDB().
| WikiRevision::importOldRevision | ( | ) |
Definition at line 1381 of file Import.php.
References $changed, $user, array(), DB_MASTER, WikiPage\factory(), getComment(), getContent(), getFormat(), getModel(), getUser(), User\newFromName(), LinkCache\singleton(), title, User, wfDebug(), and wfGetDB().
| WikiRevision::importUpload | ( | ) |
Definition at line 1500 of file Import.php.
References $archiveName, $file, $flags, $source, $user, File\DELETE_SOURCE, downloadSource(), getArchiveName(), getComment(), getFileSrc(), getSha1(), getTimestamp(), getTitle(), isTempSrc(), OldLocalFile\newFromArchiveName(), User\newFromName(), RepoGroup\singleton(), wfDebug(), and wfLocalFile().
| WikiRevision::isTempSrc | ( | ) |
Definition at line 1332 of file Import.php.
References $isTemp.
Referenced by importUpload().
| WikiRevision::setAction | ( | $action | ) |
| WikiRevision::setArchiveName | ( | $archiveName | ) |
| WikiRevision::setComment | ( | $text | ) |
| WikiRevision::setFilename | ( | $filename | ) |
| $filename |
Definition at line 1167 of file Import.php.
| WikiRevision::setFileSrc | ( | $src, | |
| $isTemp | |||
| ) |
| WikiRevision::setFormat | ( | $format | ) |
| WikiRevision::setID | ( | $id | ) |
| $id |
Definition at line 1080 of file Import.php.
References $id.
Referenced by WikiImporter\processLogItem(), and WikiImporter\processRevision().
| WikiRevision::setMinor | ( | $minor | ) |
| WikiRevision::setModel | ( | $model | ) |
| WikiRevision::setNoUpdates | ( | $noupdates | ) |
| $noupdates |
Definition at line 1209 of file Import.php.
| WikiRevision::setParams | ( | $params | ) |
| WikiRevision::setSha1Base36 | ( | $sha1base36 | ) |
| WikiRevision::setSize | ( | $size | ) |
| WikiRevision::setSrc | ( | $src | ) |
| $src |
Definition at line 1144 of file Import.php.
| WikiRevision::setText | ( | $text | ) |
| WikiRevision::setTimestamp | ( | $ts | ) |
| WikiRevision::setTitle | ( | $title | ) |
| $title |
| MWException |
Definition at line 1067 of file Import.php.
Referenced by WikiImporter\processUpload().
| WikiRevision::setType | ( | $type | ) |
| WikiRevision::setUserIP | ( | $ip | ) |
| $ip |
Definition at line 1102 of file Import.php.
| WikiRevision::setUsername | ( | $user | ) |
| WikiRevision::$action = "" |
Definition at line 1054 of file Import.php.
Referenced by getAction(), and setAction().
| WikiRevision::$archiveName = '' |
Definition at line 1059 of file Import.php.
Referenced by getArchiveName(), importUpload(), and setArchiveName().
| WikiRevision::$comment = "" |
Definition at line 1051 of file Import.php.
Referenced by getComment().
| WikiRevision::$content = null |
Definition at line 1050 of file Import.php.
Referenced by getContent().
| WikiRevision::$fileIsTemp |
Definition at line 1060 of file Import.php.
| WikiRevision::$fileSrc = '' |
Definition at line 1056 of file Import.php.
Referenced by getFileSrc().
| WikiRevision::$format = null |
Definition at line 1048 of file Import.php.
Referenced by getFormat(), and setFormat().
| WikiRevision::$id = 0 |
Definition at line 1043 of file Import.php.
| WikiRevision::$importer = null |
Definition at line 1038 of file Import.php.
| WikiRevision::$isTemp = false |
Definition at line 1058 of file Import.php.
Referenced by isTempSrc(), and setFileSrc().
| WikiRevision::$minor = false |
Definition at line 1052 of file Import.php.
Referenced by getMinor(), and setMinor().
|
private |
Definition at line 1061 of file Import.php.
| WikiRevision::$model = null |
Definition at line 1047 of file Import.php.
Referenced by getModel(), and setModel().
| WikiRevision::$params = "" |
Definition at line 1055 of file Import.php.
Referenced by getParams(), importLogItem(), and setParams().
| WikiRevision::$sha1base36 = false |
Definition at line 1057 of file Import.php.
Referenced by setSha1Base36().
| WikiRevision::$text = "" |
Definition at line 1049 of file Import.php.
Referenced by getText(), setComment(), and setText().
| WikiRevision::$timestamp = "20010115000000" |
Definition at line 1044 of file Import.php.
Referenced by getTimestamp().
| Title WikiRevision::$title = null |
Definition at line 1042 of file Import.php.
Referenced by getTitle(), and setTitle().
| WikiRevision::$type = "" |
Definition at line 1053 of file Import.php.
| WikiRevision::$user = 0 |
Definition at line 1045 of file Import.php.
Referenced by importOldRevision(), importUpload(), and setUsername().
| WikiRevision::$user_text = "" |
Definition at line 1046 of file Import.php.
Referenced by getUser().