$this->output( "Updating searchindex between $start and $end\n" );
# Select entries from recentchanges which are on top and between the specified times
- $start = $dbw->strencode( $start );
- $end = $dbw->strencode( $end );
+ $start = $dbw->timestamp( $start );
+ $end = $dbw->timestamp( $end );
$page = $dbw->tableName( 'page' );
$sql = "SELECT rc_cur_id,rc_type,rc_moved_to_ns,rc_moved_to_title FROM $recentchanges
}
public function execute() {
- global $wgOut;
+ global $wgOut, $wgSpecialPageCacheUpdates, $wgQueryPages;;
$wgOut->disable();
$dbw = wfGetDB( DB_MASTER );
# Wait for the slave to catch up
wfWaitForSlaves( 5 );
}
-
+
foreach( $wgQueryPages as $page ) {
@list( $class, $special, $limit ) = $page;