bug 19646 Localization of img_auth.php - with enhancements
https://bugzilla.wikimedia.org/show_bug.cgi?id=19646
- Localize img_auth.php using core messages
- Reorder checks to make sense (and eliminate redundancy)n
- Add hook 'ImgAuthBeforeStream' to allow custom checking
- Add globals wgImgAuthDetails,
- Move all "wfDebugLog" into the rejection functions