Last modified: 2014-03-25 04:09:45 UTC
In includes/filerepo/file/LocalFile.php, the hook LocalFilePurgeThumbnails appears to exist so that the wiki can purge thumbnails from caches. However, since it occurs after the line: $this->purgeThumbList( $dir, $files ); It only returns the folder, not the files that (used to) exist. Can we have the hook moved before the purgeThumbList code, in both instances?
Thanks for taking the time to report this! If you are interested in creating a patch to fix this and put it into Gerrit, please see https://www.mediawiki.org/wiki/Developer_access
Change 118424 had a related patch set uploaded by Prod: Execute LocalFilePurgeThumbnails hook before purging thumbnails https://gerrit.wikimedia.org/r/118424
Change 118424 merged by jenkins-bot: Execute LocalFilePurgeThumbnails hook before purging thumbnails https://gerrit.wikimedia.org/r/118424
This appears to now be sending a proper list of all the existing files so that I can have them properly purged. Marking as RESOLVED FIXED.