[Core JS] wikibits.js / IEFixes clean up
authorKrinkle <krinkle@users.mediawiki.org>
Mon, 26 Dec 2011 16:12:07 +0000 (16:12 +0000)
committerKrinkle <krinkle@users.mediawiki.org>
Mon, 26 Dec 2011 16:12:07 +0000 (16:12 +0000)
commit2b3733ecab253215d9c24684e7ee0871cb1f78e1
treefbcca8cab2979efbbdee194f82055dc5fd6872ae
parent286d7be039d0711289bac7f0743cb67b91a4e174
[Core JS] wikibits.js / IEFixes clean up
* fix on-the-loose fixalpha() call
-- Calls should not be dangling loose like that
-- Removed local calls from skins and installer
-- instead calling from the IEFixes script (which is loaded raw by wikibits which is loaded from the bottom, as are all legacy scripts)
* Removing usage of 'skinpath' and 'skin' globals in wikibits.js, those aren't globals per se since introduction of mw.config and $wgLegacyJavaScriptGlobals
* Wrapping wikibits.js in closure to avoid leakage of "local" variables. This shouldn't break anything as it is loaded through resource loader which, in production mode, wraps it in a closure anyway.
* adding explicit posision=>bottom for wikibits. 'bottom' is default but repeating here since it must not change for legacy reasons.
includes/installer/WebInstallerOutput.php
resources/Resources.php
skins/MonoBook.php
skins/Vector.php
skins/common/IEFixes.js
skins/common/wikibits.js