MediaWiki
REL1_24
|
List for revision table items. More...
Public Member Functions | |
doPostCommitUpdates () | |
A hook for setVisibility(): do any necessary updates post-commit. | |
doPreCommitUpdates () | |
A hook for setVisibility(): do batch updates pre-commit. | |
doQuery ($db) | |
getCurrent () | |
getSuppressBit () | |
Get the integer value of the flag used for suppression. | |
getType () | |
Get the internal type name of this list. | |
newItem ($row) | |
Create an item object from a DB result row. | |
Static Public Member Functions | |
static | getRelationType () |
Get the DB field name associated with the ID list. | |
static | getRestriction () |
Get the user right required for this list type Override this function. | |
static | getRevdelConstant () |
Get the revision deletion constant for this list type Override this function. | |
static | suggestTarget ($target, array $ids) |
Suggest a target for the revision deletion Optionally override this function. | |
Public Attributes | |
int | $currentRevId |
* |
List for revision table items.
This will check both the 'revision' table for live revisions and the 'archive' table for traditionally-deleted revisions that have an ar_rev_id saved.
See RevDelRevisionItem and RevDelArchivedRevisionItem for items.
Definition at line 31 of file RevDelRevisionList.php.
A hook for setVisibility(): do any necessary updates post-commit.
STUB
Reimplemented from RevDelList.
Reimplemented in RevDelArchiveList.
Definition at line 136 of file RevDelRevisionList.php.
References array(), Status\newGood(), title, and wfRunHooks().
A hook for setVisibility(): do batch updates pre-commit.
STUB
Reimplemented from RevDelList.
Reimplemented in RevDelArchiveList.
Definition at line 131 of file RevDelRevisionList.php.
References Status\newGood(), and title.
RevDelRevisionList::doQuery | ( | $ | db | ) |
DatabaseBase | $db |
Reimplemented from RevisionListBase.
Reimplemented in RevDelArchiveList.
Definition at line 59 of file RevDelRevisionList.php.
Definition at line 118 of file RevDelRevisionList.php.
static RevDelRevisionList::getRelationType | ( | ) | [static] |
Get the DB field name associated with the ID list.
This used to populate the log_search table for finding log entries. Override this function.
Reimplemented from RevDelList.
Reimplemented in RevDelArchiveList.
Definition at line 38 of file RevDelRevisionList.php.
static RevDelRevisionList::getRestriction | ( | ) | [static] |
Get the user right required for this list type Override this function.
Reimplemented from RevDelList.
Definition at line 42 of file RevDelRevisionList.php.
static RevDelRevisionList::getRevdelConstant | ( | ) | [static] |
Get the revision deletion constant for this list type Override this function.
Reimplemented from RevDelList.
Definition at line 46 of file RevDelRevisionList.php.
References Revision\DELETED_TEXT.
Get the integer value of the flag used for suppression.
Reimplemented from RevDelList.
Definition at line 127 of file RevDelRevisionList.php.
References Revision\DELETED_RESTRICTED.
Get the internal type name of this list.
Equal to the table name. Override this function.
Reimplemented from RevisionListBase.
Reimplemented in RevDelArchiveList.
Definition at line 34 of file RevDelRevisionList.php.
RevDelRevisionList::newItem | ( | $ | row | ) |
Create an item object from a DB result row.
object | $row |
Reimplemented from RevisionListBase.
Reimplemented in RevDelArchiveList.
Definition at line 107 of file RevDelRevisionList.php.
static RevDelRevisionList::suggestTarget | ( | $ | target, |
array $ | ids | ||
) | [static] |
Suggest a target for the revision deletion Optionally override this function.
Title | null | $target | User-supplied target |
array | $ids |
Reimplemented from RevDelList.
Definition at line 50 of file RevDelRevisionList.php.
References $rev, and Revision\newFromId().
int RevDelRevisionList::$currentRevId |
*
Definition at line 32 of file RevDelRevisionList.php.