37 return 'deletelogentry';
51 if ( $result->numRows() == 1 ) {
53 return SpecialPage::getTitleFor(
'Log', $result->current()->log_type );
56 return SpecialPage::getTitleFor(
'Log' );
64 $ids = array_map(
'intval', $this->ids );
66 $commentQuery = CommentStore::getStore()->getJoin(
'log_comment' );
67 $actorQuery = ActorMigration::newMigration()->getJoin(
'log_user' );
70 [
'logging' ] + $commentQuery[
'tables'] + $actorQuery[
'tables'],
81 ] + $commentQuery[
'fields'] + $actorQuery[
'fields'],
84 [
'ORDER BY' =>
'log_id DESC' ],
85 $commentQuery[
'joins'] + $actorQuery[
'joins']
94 return Revision::DELETED_RESTRICTED;
104 '5::ofield' =>
$params[
'oldBits'],
105 '6::nfield' =>
$params[
'newBits'],
wfGetDB( $db, $groups=[], $wiki=false)
Get a Database object.
Abstract base class for a list of deletable items.
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.