Uploading to a protected title will allow the user to choose a new name instead of...
authorBryan Tong Minh <btongminh@users.mediawiki.org>
Thu, 29 Jul 2010 13:04:34 +0000 (13:04 +0000)
committerBryan Tong Minh <btongminh@users.mediawiki.org>
Thu, 29 Jul 2010 13:04:34 +0000 (13:04 +0000)
commit9e63cdf976309217eecab3513821b37ab96e4837
treef458922dfa6a60ff9cac0782d9d1f7ebcaf61117
parentdc4e523a76d5e524804111a04e76ab1662b6d548
Uploading to a protected title will allow the user to choose a new name instead of showing an error page
* Made validateNameAndOverwrite protected and moved it to validateName since overwriting is now checked in verifyPermissions()
* Fixed mime verification in case getTitle was not yet called
* Checking for overwrites no longer uses $wgUser

Other changes:
* convertVerifyErrorToStatus now works
* Allow passing the session key to stashSession in UploadFromStash as well
RELEASE-NOTES
includes/specials/SpecialUpload.php
includes/upload/UploadBase.php
includes/upload/UploadFromStash.php