}
}
- $rcIndexes = [];
-
if ( $namespace !== false ) {
if ( $this->opts->getValue( 'invert' ) ) {
$conds[] = 'rc_namespace != ' . $this->mDb->addQuotes( $namespace );
Hooks::run( 'SpecialNewpagesConditions',
[ &$pager, $this->opts, &$conds, &$tables, &$fields, &$join_conds ] );
- $options = [];
-
- if ( $rcIndexes ) {
- $options = [ 'USE INDEX' => [ 'recentchanges' => $rcIndexes ] ];
- }
-
$info = [
'tables' => $tables,
'fields' => $fields,
'conds' => $conds,
- 'options' => $options,
+ 'options' => [],
'join_conds' => $join_conds
];
return $this->mForm->formatRow( $row );
}
- function getStartBody() {
+ protected function getStartBody() {
# Do a batch existence check on pages
$linkBatch = new LinkBatch();
foreach ( $this->mResult as $row ) {
return '<ul>';
}
- function getEndBody() {
+ protected function getEndBody() {
return '</ul>';
}
}