Extension:FileIndexer/Code.Pre.MediaWiki.1.9

This is just an addition to Code for MediaWiki 1.9 - 1.11 to use with older wikis!

Insert the hook into SpecialUpload.php on MediaWiki 1.6.7 around line 158: