User "Bryan" posted a comment on MediaWiki.r84395.

Full URL: 
https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/84395#c21517
Commit summary:

(bug 27641) purgeThumbnails should support exclusion of expensive files. Add 
$wgExcludeFromThumbnailPurge and don't purge thumbnails whose extension is in 
that array when the files they belong to are purged with action=purge. 
Committing patch by Michael Dale with small coding style tweaks

Comment:

Fair enough. Still the use of a global variable bugs me. Perhaps we can have 
the File object request from the MediaHandler which thumbnail types to remove 
on light purge. That looks more correct to me.

_______________________________________________
MediaWiki-CodeReview mailing list
mediawiki-coderev...@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to