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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #10 from [email protected] 2012-03-02 13:57:49 UTC ---
As of r112665:
* mw.loader.load accept a callback function[1]; and
* mw.loader.using[2] doesn't accept urls

Per comments on
http://thread.gmane.org/gmane.science.linguistics.wikipedia.technical/52291
and on bug 27281 comment 2, I also don't see the point in sending more code to
the users to duplicate only part of jQuery.getScript functionality (which is
already sent to them).
Maybe the use of full urls on mw.loader.load should just be deprecated in favor
of jQuery.getScript and keep mw.loader.load only for modules...

[1]
http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/resources/mediawiki/mediawiki.js?revision=112665&view=markup#l1212

[2]
http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/resources/mediawiki/mediawiki.js?revision=112665&view=markup#l1173

-- 
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