MediaWiki  REL1_19
WikiRevision Class Reference

List of all members.

Public Member Functions

 downloadSource ()
 getAction ()
 getArchiveName ()
 getComment ()
 getFilename ()
 getFileSrc ()
 getID ()
 getMinor ()
 getParams ()
 getSha1 ()
 getSize ()
 getSrc ()
 getText ()
 getTimestamp ()
 getTitle ()
 getType ()
 getUser ()
 importLogItem ()
 importOldRevision ()
 importUpload ()
 isTempSrc ()
 setAction ($action)
 setArchiveName ($archiveName)
 setComment ($text)
 setFilename ($filename)
 setFileSrc ($src, $isTemp)
 setID ($id)
 setMinor ($minor)
 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 = ""
 $fileIsTemp
 $fileSrc = ''
 $id = 0
 $importer = null
 $isTemp = false
 $minor = false
 $params = ""
 $sha1base36 = false
 $text = ""
 $timestamp = "20010115000000"
 $title = null
 $type = ""
 $user = 0
 $user_text = ""

Private Attributes

 $mNoUpdates = false

Detailed Description

Todo:
document (e.g.

one-sentence class description).

Definition at line 966 of file Import.php.


Member Function Documentation

Returns:
bool|string

Definition at line 1433 of file Import.php.

References $f, $wgEnableUploads, Http\get(), getSrc(), wfDebug(), and wfTempDir().

Referenced by importUpload().

Here is the call graph for this function:

Here is the caller graph for this function:

Returns:
string

Definition at line 1237 of file Import.php.

Referenced by importLogItem().

Here is the caller graph for this function:

Returns:
string

Definition at line 1216 of file Import.php.

Referenced by importUpload().

Here is the caller graph for this function:

Returns:
string

Definition at line 1164 of file Import.php.

Referenced by importLogItem(), importOldRevision(), and importUpload().

Here is the caller graph for this function:

Returns:
mixed

Definition at line 1209 of file Import.php.

Returns:
string

Definition at line 1195 of file Import.php.

Referenced by importUpload().

Here is the caller graph for this function:

Returns:
int

Definition at line 1136 of file Import.php.

Returns:
bool

Definition at line 1171 of file Import.php.

Returns:
string

Definition at line 1244 of file Import.php.

Returns:
bool|String

Definition at line 1185 of file Import.php.

References wfBaseConvert().

Referenced by importUpload().

Here is the call graph for this function:

Here is the caller graph for this function:

Returns:
mixed

Definition at line 1223 of file Import.php.

Returns:
mixed

Definition at line 1178 of file Import.php.

Referenced by downloadSource().

Here is the caller graph for this function:

Returns:
string

Definition at line 1157 of file Import.php.

Referenced by importOldRevision().

Here is the caller graph for this function:

Returns:
string

Definition at line 1143 of file Import.php.

Referenced by importUpload().

Here is the caller graph for this function:

Returns:
Title

Definition at line 1129 of file Import.php.

Referenced by importLogItem(), and importUpload().

Here is the caller graph for this function:

Returns:
string

Definition at line 1230 of file Import.php.

Referenced by importLogItem().

Here is the caller graph for this function:

Returns:
string

Definition at line 1150 of file Import.php.

Referenced by importOldRevision().

Here is the caller graph for this function:

Returns:
mixed

Definition at line 1321 of file Import.php.

References getAction(), getComment(), getTitle(), getType(), User\idFromName(), wfDebug(), and wfGetDB().

Here is the call graph for this function:

Returns:
bool

Definition at line 1251 of file Import.php.

References $changed, $page, $user, WikiPage\factory(), getComment(), getText(), getUser(), User\newFromName(), LinkCache\singleton(), wfDebug(), and wfGetDB().

Here is the call graph for this function:

Returns:
bool

Definition at line 1202 of file Import.php.

Referenced by importUpload().

Here is the caller graph for this function:

WikiRevision::setAction ( action)
Parameters:
$action

Definition at line 1108 of file Import.php.

References $action.

WikiRevision::setArchiveName ( archiveName)
Parameters:
$archiveName

Definition at line 1087 of file Import.php.

References $archiveName.

Parameters:
$text

Definition at line 1043 of file Import.php.

References $text.

WikiRevision::setFilename ( filename)
Parameters:
$filename

Definition at line 1080 of file Import.php.

WikiRevision::setFileSrc ( src,
isTemp 
)
Parameters:
$src
$isTemp

Definition at line 1065 of file Import.php.

References $isTemp.

Parameters:
$id

Definition at line 1007 of file Import.php.

References $id.

Referenced by WikiImporter\processLogItem(), and WikiImporter\processRevision().

Here is the caller graph for this function:

WikiRevision::setMinor ( minor)
Parameters:
$minor

Definition at line 1050 of file Import.php.

References $minor.

WikiRevision::setNoUpdates ( noupdates)
Parameters:
$noupdates

Definition at line 1122 of file Import.php.

WikiRevision::setParams ( params)
Parameters:
$params

Definition at line 1115 of file Import.php.

References $params.

WikiRevision::setSha1Base36 ( sha1base36)
Parameters:
$sha1base36

Definition at line 1073 of file Import.php.

References $sha1base36.

WikiRevision::setSize ( size)
Parameters:
$size

Definition at line 1094 of file Import.php.

References $size.

Parameters:
$src

Definition at line 1057 of file Import.php.

WikiRevision::setText ( text)
Parameters:
$text

Definition at line 1036 of file Import.php.

References $text.

Referenced by DumpIterator\execute().

Here is the caller graph for this function:

Parameters:
$ts

Definition at line 1014 of file Import.php.

References wfTimestamp().

Here is the call graph for this function:

WikiRevision::setTitle ( title)
Parameters:
$title
Exceptions:
MWException

Definition at line 994 of file Import.php.

References $title.

Referenced by WikiImporter\processUpload().

Here is the caller graph for this function:

WikiRevision::setType ( type)
Parameters:
$type

Definition at line 1101 of file Import.php.

References $type.

Parameters:
$ip

Definition at line 1029 of file Import.php.

Parameters:
$user

Definition at line 1022 of file Import.php.

References $user.


Member Data Documentation

WikiRevision::$action = ""

Definition at line 981 of file Import.php.

Referenced by setAction().

WikiRevision::$archiveName = ''

Definition at line 986 of file Import.php.

Referenced by importUpload(), and setArchiveName().

WikiRevision::$comment = ""

Definition at line 978 of file Import.php.

WikiRevision::$fileIsTemp

Definition at line 987 of file Import.php.

WikiRevision::$fileSrc = ''

Definition at line 983 of file Import.php.

WikiRevision::$id = 0

Definition at line 973 of file Import.php.

Referenced by setID().

WikiRevision::$importer = null

Definition at line 967 of file Import.php.

WikiRevision::$isTemp = false

Definition at line 985 of file Import.php.

Referenced by setFileSrc().

WikiRevision::$minor = false

Definition at line 979 of file Import.php.

Referenced by setMinor().

WikiRevision::$mNoUpdates = false [private]

Definition at line 988 of file Import.php.

WikiRevision::$params = ""

Definition at line 982 of file Import.php.

Referenced by setParams().

WikiRevision::$sha1base36 = false

Definition at line 984 of file Import.php.

Referenced by setSha1Base36().

WikiRevision::$text = ""

Definition at line 977 of file Import.php.

Referenced by setComment(), and setText().

WikiRevision::$timestamp = "20010115000000"

Definition at line 974 of file Import.php.

WikiRevision::$title = null

Definition at line 972 of file Import.php.

Referenced by setTitle().

WikiRevision::$type = ""

Definition at line 980 of file Import.php.

Referenced by setType().

WikiRevision::$user = 0

Definition at line 975 of file Import.php.

Referenced by importOldRevision(), importUpload(), and setUsername().

WikiRevision::$user_text = ""

Definition at line 976 of file Import.php.


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