Cleanup SpecialUploadStash
authorBryan Tong Minh <btongminh@users.mediawiki.org>
Wed, 2 Feb 2011 16:07:28 +0000 (16:07 +0000)
committerBryan Tong Minh <btongminh@users.mediawiki.org>
Wed, 2 Feb 2011 16:07:28 +0000 (16:07 +0000)
commit2bf8ede385c74704a371c505279cc47416cecabb
treefde118c6be2e436edc086c3f40c28354bc0c6da5
parente3821a06def81acf063af6fd416750458c0c166d
Cleanup SpecialUploadStash

Follow-up r78426:
* Fix clearing the stash; The data array passed has as keys the keys passed used in the descriptor, not the HTML input name
* Transform array( __CLASS__, $fname ) to __CLASS__ . "::$fname", because not all PHP version support the first
* Remove addHiddenField; not needed
* Fix indentation
* Kill loadRequest all together; all this stuff is handled by HTMLForm
Follow-up r80993: Use LocalRepo to create the UploadStash
includes/specials/SpecialUploadStash.php