// 1.23
array( 'addField', 'recentchanges', 'rc_source', 'patch-rc_source.sql' ),
+ array( 'addIndex', 'logging', 'log_user_text_type_time', 'patch-logging_user_text_type_time_index.sql' ),
+ array( 'addIndex', 'logging', 'log_user_text_time', 'patch-logging_user_text_time_index.sql' ),
+ array( 'addField', 'page', 'page_links_updated', 'patch-page_links_updated.sql' ),
);
}
'wl_notificationtimestamp' => 'wl_notificationtimestamp'
), array( 'NOT (wl_namespace & 1)' ), __METHOD__, 'IGNORE' );
$this->output( "done.\n" );
+
+ $this->output( "Adding missing watchlist subject page rows... " );
+ $this->db->insertSelect( 'watchlist', 'watchlist',
+ array(
+ 'wl_user' => 'wl_user',
+ 'wl_namespace' => 'wl_namespace & ~1',
+ 'wl_title' => 'wl_title',
+ 'wl_notificationtimestamp' => 'wl_notificationtimestamp'
+ ), array( 'wl_namespace & 1' ), __METHOD__, 'IGNORE' );
+ $this->output( "done.\n" );
}
function doSchemaRestructuring() {