r91946 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91945‎ | r91946 | r91947 >
Date:10:58, 12 July 2011
Author:questpc
Status:deferred
Tags:
Comment:
Small fix to the previous TimedMediaHandler patch for MediaWiki 1.17
Modified paths:
  • /trunk/extensions/TimedMediaHandler/TimedMediaHandler.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/TimedMediaHandler/TimedMediaHandler.hooks.php
@@ -86,12 +86,11 @@
8787 // ( a maintenance script could handle transcode asset purging)
8888 if ( isset( $wgExcludeFromThumbnailPurge ) ) {
8989 $wgExcludeFromThumbnailPurge = array_merge( $wgExcludeFromThumbnailPurge, $wgTmhFileExtensions );
 90+ // Also add the .log file ( used in two pass encoding )
 91+ // ( probably should move in-progress encodes out of web accessible directory )
 92+ $wgExcludeFromThumbnailPurge[] = 'log';
9093 }
9194
92 - // Also add the .log file ( used in two pass encoding )
93 - // ( probably should move in-progress encodes out of web accessible directory )
94 - $wgExcludeFromThumbnailPurge[] = 'log';
95 -
9695 $wgHooks['LoadExtensionSchemaUpdates'][] = 'TimedMediaHandlerHooks::loadExtensionSchemaUpdates';
9796
9897 // Add unit tests

Status & tagging log