38 return 'deletelogentry';
52 if ( $result->numRows() == 1 ) {
54 return SpecialPage::getTitleFor(
'Log', $result->current()->log_type );
57 return SpecialPage::getTitleFor(
'Log' );
65 $ids = array_map(
'intval', $this->ids );
67 $commentQuery = CommentStore::getStore()->getJoin(
'log_comment' );
68 $actorQuery = ActorMigration::newMigration()->getJoin(
'log_user' );
71 [
'logging' ] + $commentQuery[
'tables'] + $actorQuery[
'tables'],
82 ] + $commentQuery[
'fields'] + $actorQuery[
'fields'],
85 [
'ORDER BY' =>
'log_id DESC' ],
86 $commentQuery[
'joins'] + $actorQuery[
'joins']
95 return RevisionRecord::DELETED_RESTRICTED;
104 '4::ids' => $params[
'ids'],
105 '5::ofield' => $params[
'oldBits'],
106 '6::nfield' => $params[
'newBits'],
wfGetDB( $db, $groups=[], $wiki=false)
Get a Database object.
Item class for a logging table row.
List for logging table items.
getLogParams( $params)
Get log parameter array.
getLogAction()
Get the log action for this list type.
static getRestriction()
Get the user right required for this list type Override this function.
getSuppressBit()
Get the integer value of the flag used for suppression.
static getRelationType()
Get the DB field name associated with the ID list.
getType()
Get the internal type name of this list.
static suggestTarget( $target, array $ids)
Suggest a target for the revision deletion Optionally override this function.
static getRevdelConstant()
Get the revision deletion constant for this list type Override this function.
newItem( $row)
Create an item object from a DB result row.