Move FileUpload hook out of the transaction.
authorPlatonides <platonides@users.mediawiki.org>
Tue, 31 Aug 2010 13:16:42 +0000 (13:16 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Tue, 31 Aug 2010 13:16:42 +0000 (13:16 +0000)
commita4e6acb2884da7fe40bcc228de9ba1235954228f
treea6f97fe782c4cffc161e5f2476330cd132e38808
parent763f56b2ab37bcbb4c34524c64ac85f67a38426f
Move FileUpload hook out of the transaction.
FileSearch relied on the article not existing to detect if it's a but it was broken: always detected it as a reupload.
Add a new parameter to the hook to detect reuploads.
Fixed other issues on FileSearch extension.
docs/hooks.txt
includes/filerepo/LocalFile.php