Last modified: 2006-04-13 18:32:00 UTC
I've created an extension to automatically create a redirect in the main namespace whenever a category is created, to make it easier to find and link to them. I want to do the same for files, but there are no hooks called, as far as I can tell, when uploading files.
The page creation hook is called on upload.
I can't see anything about page creation here: http://meta.wikimedia.org/wiki/MediaWiki_Hooks_and_their_Parameters Can you point me in the right direction?
I searched the files SpecialUpload.php, Article.php and Title.php and found nothing, then output every hook called on upload to a file and found nothing useful.
There is a hook called UploadVerification in SpecialUpload (CVS only).
There is now an UploadComplete hook in SVN trunk, r13623; backported to 1.6 and 1.5 branches.