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: wikibugs-l@lists.wikimedia.org
          Reporter: prodig...@hotmail.com
                CC: aarcos.w...@gmail.com, bawolff...@gmail.com,
                    bryan.tongm...@gmail.com, fflo...@wikimedia.org,
                    gti...@wikimedia.org, mtrac...@member.fsf.org
       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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to