34 parent::__construct( $name );
46 $tables = [
'page',
'revision' ];
48 'page_namespace' => MWNamespace::getContentNamespaces(),
49 'page_is_redirect' => 0
54 'page_latest = rev_id'
60 Hooks::run(
'AncientPagesQuery', [ &
$tables, &$conds, &$joinConds ] );
65 'namespace' =>
'page_namespace',
66 'title' =>
'page_title',
67 'value' =>
'rev_timestamp'
92 $d = $this->
getLanguage()->userTimeAndDate( $result->value, $this->getUser() );
93 $title = Title::makeTitle( $result->namespace, $result->title );
97 new HtmlArmor( MediaWikiServices::getInstance()->getContentLanguage()->
105 return 'maintenance';
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two and(2) offer you this license which gives you legal permission to copy
Implements Special:Ancientpages.
isExpensive()
Is this query expensive (for some definition of expensive)? Then we don't let it run in miser mode.
preprocessResults( $db, $res)
Do any necessary preprocessing of the result object.
__construct( $name='Ancientpages')
isSyndicated()
Sometime we don't want to build rss / atom feeds.
getQueryInfo()
Subclasses return an SQL query here, formatted as an array with the following keys: tables => Table(s...
formatResult( $skin, $result)
usesTimestamps()
Does this query return timestamps rather than integers in its 'value' field? If true,...
getGroupName()
Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-gro...
sortDescending()
Override to sort by increasing values.
Marks HTML that shouldn't be escaped.
This is a class for doing query pages; since they're almost all the same, we factor out some of the f...
executeLBFromResultWrapper(IResultWrapper $res, $ns=null)
Creates a new LinkBatch object, adds all pages from the passed ResultWrapper (MUST include title and ...
getLanguage()
Shortcut to get user's language.
MediaWiki Linker LinkRenderer null $linkRenderer
this hook is for auditing only 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
usually copyright or history_copyright This message must be in HTML not wikitext & $link