33 return 'ar_timestamp';
42 foreach ( $this->ids as $id ) {
43 $timestamps[] = $db->timestamp( $id );
46 $arQuery = Revision::getArchiveQueryInfo();
48 $fields = $arQuery[
'fields'];
50 'ar_namespace' => $this->title->getNamespace(),
51 'ar_title' => $this->title->getDBkey(),
52 'ar_timestamp' => $timestamps,
54 $join_conds = $arQuery[
'joins'];
55 $options = [
'ORDER BY' =>
'ar_timestamp DESC' ];
80 return Status::newGood();
84 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.
this hook is for auditing only RecentChangesLinked and Watchlist RecentChangesLinked and Watchlist Do not use this to implement individual filters if they are compatible with the ChangesListFilter and ChangesListFilterGroup structure use sub classes of those in conjunction with the ChangesListSpecialPageStructuredFilters hook This hook can be used to implement filters that do not implement that or custom behavior that is not an individual filter e g Watchlist & $tables
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped & $options