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

Ryan Kaldari <rkald...@wikimedia.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rkald...@wikimedia.org

--- Comment #13 from Ryan Kaldari <rkald...@wikimedia.org> 2011-04-13 01:58:50 
UTC ---
Reply to Comment #12:
Requiring the user to register user scripts as modules seems a bit onerous to
me. I think we should keep this simple for end users. Otherwise, they are going
to keep using importScript for the rest of time.

Couldn't we just detect for a parameter of type /(.*)\:(.*)\.(js|css)/i
and either convert it into an external link or construct a module on behalf of
the user?

Then people could easily migrate...
importScript('User:Foo/bar.js');
...to...
mediaWiki.loader.load('User:Foo/bar.js');

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to