'page' => array( 'LEFT JOIN',
array( 'log_namespace=page_namespace',
'log_title=page_title' ) ) ) );
- $index['logging'] = 'times'; // default, may change
+ $index = array( 'logging' => 'times' ); // default, may change
$this->addFields( array (
'log_type',
*/
$db = $this->getDB();
$this->addTables( 'recentchanges' );
- $index['recentchanges'] = 'rc_timestamp'; // May change
+ $index = array( 'recentchanges' => 'rc_timestamp' ); // May change
$this->addWhereRange( 'rc_timestamp', $params['dir'], $params['start'], $params['end'] );
$this->addWhereFld( 'rc_namespace', $params['namespace'] );
$this->addWhereFld( 'rc_deleted', 0 );
$this->addWhereIf( 'rc_patrolled != 0', isset( $show['patrolled'] ) );
}
$this->addOption( 'LIMIT', $this->params['limit'] + 1 );
- $index['revision'] = 'usertext_timestamp';
+ $index = array( 'revision' => 'usertext_timestamp' );
// Mandatory fields: timestamp allows request continuation
// ns+title checks if the user has access rights for this page