https://bugzilla.wikimedia.org/show_bug.cgi?id=29753

Krinkle <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|legacy JS scripts get       |mw.util.tooltipAccessKeyPre
                   |loaded in newer FF          |fix should be alt-shift for
                   |                            |Firefox 3+

--- Comment #7 from Krinkle <[email protected]> 2011-07-08 00:27:27 UTC ---
(In reply to comment #4)
> The legacy script is the only one that actually gets run, as can be trivially
> confirmed by loading it in your browser and checking.

For some reason the calls to the legacy script were never removed from the on
load hook. Fixed in r91660. 

The fact that legacy wikibits.js is loaded is not a bug and happens in all
browsers all the time (not related to Firefox in any way). So rephrasing bug
summary.

(In reply to comment #6)
> wikibits.js is always loaded -- it's required so that code in it can be used 
> by
> various things.

Exactly. It's been deprecated and should no longer be used, but it's still used
by extensions, gadgets and local site scripts and user scripts. For backwards
compatibility the legacy functions need to stay as-is untill they are removed
in a future version of MediaWiki.

See also:
http://www.mediawiki.org/wiki/Thread:Talk:ResourceLoader/JavaScript_Deprecations/Deprecation_plan

I'm all open to revisit this plan, but whatever we do it should be documented
and be acted on consistently. Since it is already in effect on the progress for
the last year Im a bit hesitant to change that.

Thanks,
Krinkle

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to