MediaWiki  master
ImportableUploadRevision Interface Reference
Inheritance diagram for ImportableUploadRevision:

Public Member Functions

 getArchiveName ()
 
 getComment ()
 
 getFileSrc ()
 
 getSha1 ()
 
 getSrc ()
 
 getTimestamp ()
 
 getTitle ()
 
 getUser ()
 
 getUserObj ()
 
 isTempSrc ()
 

Detailed Description

Since
1.31

Definition at line 6 of file ImportableUploadRevision.php.

Member Function Documentation

◆ getArchiveName()

ImportableUploadRevision::getArchiveName ( )
Since
1.31
Returns
string Archive name of a revision if archived.

Implemented in WikiRevision.

◆ getComment()

ImportableUploadRevision::getComment ( )
Since
1.31
Returns
string

Implemented in WikiRevision.

◆ getFileSrc()

ImportableUploadRevision::getFileSrc ( )
Since
1.31
Returns
string Local file source of the revision.

Implemented in WikiRevision.

◆ getSha1()

ImportableUploadRevision::getSha1 ( )
Since
1.31
Returns
string|bool sha1 of the revision, false if not set or errors occur.

Implemented in WikiRevision.

◆ getSrc()

ImportableUploadRevision::getSrc ( )
Since
1.31
Returns
string|null HTTP source of revision to be used for downloading.

Implemented in WikiRevision.

Referenced by ImportableUploadRevisionImporter\downloadSource().

◆ getTimestamp()

ImportableUploadRevision::getTimestamp ( )
Since
1.31
Returns
string TS_MW timestamp, a string with 14 digits

Implemented in WikiRevision.

◆ getTitle()

ImportableUploadRevision::getTitle ( )
Since
1.31
Returns
Title

Implemented in WikiRevision.

◆ getUser()

ImportableUploadRevision::getUser ( )
Since
1.31
Returns
string The username of the user that created this revision

Implemented in WikiRevision.

◆ getUserObj()

ImportableUploadRevision::getUserObj ( )
Deprecated:
since 1.39, use {
See also
getUser} instead; this is almost always null anyway
Since
1.31
Returns
User|null Typically null, use {
See also
getUser} instead

Implemented in WikiRevision.

◆ isTempSrc()

ImportableUploadRevision::isTempSrc ( )
Since
1.31
Returns
bool Is the return of getFileSrc only temporary?

Implemented in WikiRevision.


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