- $res = $dbr->select( 'page', array( 'page_namespace', 'page_title', 'page_id' ),
- array( 'page_namespace' => $wgContentNamespaces,
- "page_id BETWEEN $blockStart AND $blockEnd" ),
- array( 'ORDER BY' => 'page_id ASC', 'USE INDEX' => 'PRIMARY' )
+ $res = $dbr->select( 'page', [ 'page_namespace', 'page_title', 'page_id' ],
+ [ 'page_namespace' => $wgContentNamespaces,
+ "page_id BETWEEN $blockStart AND $blockEnd" ],
+ [ 'ORDER BY' => 'page_id ASC', 'USE INDEX' => 'PRIMARY' ]