https://bugzilla.wikimedia.org/show_bug.cgi?id=62273
Bug ID: 62273
Summary: LocalFilePurgeThumbnails hook occurs after thumbnails
cleared
Product: MediaWiki
Version: 1.22.3
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: File management
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected]
Web browser: ---
Mobile Platform: ---
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?
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l