21 ->getRevisionFactory()
22 ->newRevisionFromArchiveRow(
24 IDBAccessObject::READ_NORMAL,
34 return 'ar_timestamp';
39 return 'ar_timestamp';
49 return 'ar_user_text';
59 # Convert DB timestamp to MW timestamp
60 return $this->revisionRecord->getTimestamp();
66 $dbw->newUpdateQueryBuilder()
68 ->set( [
'ar_deleted' => $bits ] )
70 'ar_namespace' => $this->list->getPage()->getNamespace(),
71 'ar_title' => $this->list->getPage()->getDBkey(),
73 'ar_timestamp' => $this->row->ar_timestamp,
74 'ar_rev_id' => $this->row->ar_rev_id,
75 'ar_deleted' => $this->getBits()
77 ->caller( __METHOD__ )->execute();
79 return (
bool)$dbw->affectedRows();
84 $date = $this->list->getLanguage()->userTimeAndDate(
85 $this->revisionRecord->getTimestamp(), $this->list->getUser() );
88 return htmlspecialchars( $date );
96 'target' => $this->list->getPageName(),
97 'timestamp' => $this->revisionRecord->getTimestamp()
105 return $this->list->msg(
'diff' )->escaped();
110 $this->list->msg(
'diff' )->text(),
113 'target' => $this->list->getPageName(),
115 'timestamp' => $this->revisionRecord->getTimestamp()
122class_alias( RevDelArchiveItem::class,
'RevDelArchiveItem' );
Parent class for all special pages.
static getTitleFor( $name, $subpage=false, $fragment='')
Get a localised Title object for a specified special page name If you don't need a full Title object,...