(bug 27641) purgeThumbnails should support exclusion of expensive files. Add $wgExclu...
authorRoan Kattouw <catrope@users.mediawiki.org>
Sun, 20 Mar 2011 16:38:08 +0000 (16:38 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Sun, 20 Mar 2011 16:38:08 +0000 (16:38 +0000)
commit43993f1fd6ce18bb086728b72e30b6da184f863f
treebfa273e18ea3e45ad121075fdbdac4450c8a6a69
parent3f52bd8007cf4b8e6f17cfa5ee74c86477eded93
(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
includes/DefaultSettings.php
includes/filerepo/LocalFile.php