34 return 'ar_timestamp';
43 foreach ( $this->ids as $id ) {
44 $timestamps[] = $db->timestamp( $id );
47 $arQuery = MediaWikiServices::getInstance()
49 ->getArchiveQueryInfo();
50 $tables = $arQuery[
'tables'];
51 $fields = $arQuery[
'fields'];
53 'ar_namespace' => $this->title->getNamespace(),
54 'ar_title' => $this->title->getDBkey(),
55 'ar_timestamp' => $timestamps,
57 $join_conds = $arQuery[
'joins'];
58 $options = [
'ORDER BY' =>
'ar_timestamp DESC' ];
69 return $db->select( $tables,
83 return Status::newGood();
87 return Status::newGood();
Item class for a archive table row.
List for archive table items, i.e.
doPreCommitUpdates()
A hook for setVisibility(): do batch updates pre-commit.
newItem( $row)
Create an item object from a DB result row.
static getRelationType()
Get the DB field name associated with the ID list.
doPostCommitUpdates(array $visibilityChangeMap)
A hook for setVisibility(): do any necessary updates post-commit.
getType()
Get the internal type name of this list.
List for revision table items.