'table' => $table,
'start' => $start,
'end' => $end );
- parent::__construct( 'html_cache_update', $title, $params, $id );
+ parent::__construct( 'htmlCacheUpdate', $title, $params, $id );
$this->table = $table;
$this->start = intval( $start );
$this->end = intval( $end );
switch ( $command ) {
case 'refreshLinks':
return new RefreshLinksJob( $title, $params, $id );
- case 'html_cache_update':
+ case 'htmlCacheUpdate':
+ case 'html_cache_update': # BC
return new HTMLCacheUpdateJob( $title, $params['table'], $params['start'], $params['end'], $id );
default:
throw new MWException( "Invalid job command \"$command\"" );