Extension:ImagePageEx

Purpose
Defines a subclass of 'ImagePage' which provides the following hooks missing from MediaWiki:
 * ImageDoDeleteBegin
 * ImageDoDeleteEnd

Features

 * No MediaWiki patch

ImageDoDeleteBegin
Called at the very beginning of the method 'doDelete' of an ImagePageEx object.

ImageDoDeleteEnd
Called at the very end of the method 'doDelete' of an ImagePageEx object.