* Item class for a archive table row
*/
class RevDelArchiveItem extends RevDelRevisionItem {
- public function __construct( $list, $row ) {
- RevDelItem::__construct( $list, $row );
- $this->revision = Revision::newFromArchiveRow( $row,
- [ 'page' => $this->list->title->getArticleID() ] );
+ protected static function initRevision( $list, $row ) {
+ return Revision::newFromArchiveRow( $row,
+ [ 'page' => $list->title->getArticleID() ] );
}
public function getIdField() {
return 'ar_user_text';
}
+ public function getAuthorActorField() {
+ return 'ar_actor';
+ }
+
public function getId() {
# Convert DB timestamp to MW timestamp
return $this->revision->getTimestamp();