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

rai...@rillke.eu <rainerril...@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |rainerril...@hotmail.com
         Resolution|                            |INVALID

--- Comment #4 from rai...@rillke.eu <rainerril...@hotmail.com> 2012-01-12 
22:28:13 UTC ---
This is/was because of
http://commons.wikimedia.deployment.wmflabs.org/wiki/MediaWiki:Monobook.js?useskin=monobook

importScriptURI and importScript aren't supported by natively MediaWiki
anymore. But
http://commons.wikimedia.deployment.wmflabs.org/wiki/MediaWiki:Common.js tries
to emulate them.

Since mw.loader.util is undefined when
http://commons.wikimedia.deployment.wmflabs.org/wiki/MediaWiki:Common.js is
loaded, I wrapped a loader-call around the whole js.

This caused that common.js-code was executed after monobook.js; thus
importScriptURI & Co. were undefined.

So there is the question whether it is intended that mw.util is initialized
after common.js is loaded and why mw.util.$content is still null despite all
code is wrapped inside the loader-module.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
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