Revert r34619, r34622 and do it right. :)
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 12 May 2008 23:46:42 +0000 (23:46 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 12 May 2008 23:46:42 +0000 (23:46 +0000)
commit044dca14bce9efa7164dee652213aa19922c982d
treee6f699d5eea4909cc8b0d5c92be5d7643d80582e
parent610b660d8eca47379bf7c9435b6651eccc61110d
Revert r34619, r34622 and do it right. :)

* $extensionsList is a local variable, not a global, so there is no actual register_globals danger -- just annoying E_NOTICE spam.
* Setting $extensionList won't help with warnings about unset $extensionsList ;)
* Cleaner to set it in the fallback case near where it's set otherwise, rather than at the top of the function far, far away from its use
includes/SpecialUpload.php