Unfortunately not. The problem is that when you delete all revisions of a file, it deletes the history *first*, getHistory() returns nothing, and the loop never executes. The work-around is to delete archived versions and then finally delete the file itself. The fix ... I'm still working on. Got a bit of a layering problem, but we'll see ... -russ ________________________________________ From: wikitech-l-bounces@lists.wikimedia.org [wikitech-l-bounces@lists.wikimedia.org] on behalf of Chad [innocentkiller@gmail.com] Sent: Thursday, August 25, 2011 4:58 PM To: Wikimedia developers Subject: Re: [Wikitech-l] Ramping up to 1.18 deployment
On Thu, Aug 25, 2011 at 4:42 PM, Russell N. Nelson - rnnelson rnnelson@clarkson.edu wrote:
https://bugzilla.wikimedia.org/30192 -- Thumbnails of archived images don't get deleted
I've got my head down in this code. I'll have a go at it.
I already partially resolved it in r94212. As Bryan points out, the fix is insufficient (and while we're under the hood there, those methods desperately need renaming and better docs).
-Chad
_______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l