HomePhabricator

Remove verifyUpload hook, just check images using the normal userCan hook.

Authored by Ilmari_Karonen.

Description

Remove verifyUpload hook, just check images using the normal userCan hook. This closes a loophole that allowed creation of blacklisted image pages via normal editing. Note that combining this version with MediaWiki revisions prior to r35167 breaks the 'reupload' option and produces uninformative output for blacklisted uploads.

Details

Committed
Ilmari_KaronenMay 22 2008, 1:35 AM
Parents
rETBLf4ef120e593c: Add new option "moveonly" to forbid moves but allow ordinary creation (should…
Branches
Unknown
Tags
Unknown
ChangeId
None