r84443 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84442‎ | r84443 | r84444 >
Date:11:12, 21 March 2011
Author:catrope
Status:ok
Tags:
Comment:
TimedMediaHandler: $wgJobExplitRequestTypes --> $wgJobTypesExcludedFromDefaultQueue per r84397
Modified paths:
  • /trunk/extensions/TimedMediaHandler/TimedMediaHandler.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/TimedMediaHandler/TimedMediaHandler.hooks.php
@@ -10,7 +10,7 @@
1111 class TimedMediaHandlerHooks {
1212 // Register TimedMediaHandler Hooks
1313 static function register(){
14 - global $wgParserOutputHooks, $wgHooks, $wgJobClasses, $wgJobExplitRequestTypes,
 14+ global $wgParserOutputHooks, $wgHooks, $wgJobClasses, $wgJobTypesExcludedFromDefaultQueue,
1515 $wgMediaHandlers, $wgResourceModules, $wgExcludeFromThumbnailPurge,
1616 $wgTimedMediaHandlerFileExtensions, $wgParserOutputHooks, $wgOut, $wgAPIPropModules;
1717
@@ -29,7 +29,7 @@
3030 'webVideoTranscode' => 'WebVideoTranscodeJob'
3131 );
3232 // Transcode jobs must be explicitly requested from the job queue:
33 - $wgJobExplitRequestTypes[] = 'webVideoTranscode';
 33+ $wgJobTypesExcludedFromDefaultQueue[] = 'webVideoTranscode';
3434
3535 $baseExtensionResource = array(
3636 'localBasePath' => dirname( __FILE__ ),

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r84397(bug 27336) Add $wgJobTypesExcludedFromDefaultQueue for job types that aren't...catrope16:52, 20 March 2011

Status & tagging log