array( 'page', 'revision' ), 'fields' => array( 'namespace' => 'page_namespace', 'title' => 'page_title', 'value' => 'rev_timestamp' ), 'conds' => array( 'page_namespace' => MWNamespace::getContentNamespaces(), 'page_is_redirect' => 0, 'page_latest=rev_id' ) ); } function usesTimestamps() { return true; } function sortDescending() { return false; } function formatResult( $skin, $result ) { global $wgContLang; $d = $this->getLanguage()->userTimeAndDate( $result->value, $this->getUser() ); $title = Title::makeTitle( $result->namespace, $result->title ); $link = Linker::linkKnown( $title, htmlspecialchars( $wgContLang->convert( $title->getPrefixedText() ) ) ); return $this->getLanguage()->specialList( $link, htmlspecialchars( $d ) ); } protected function getGroupName() { return 'maintenance'; } }