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

Krinkle <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID
            Summary|Minimized js error          |ResourceLoader: Implied
                   |                            |global function not a
                   |                            |global function outside
                   |                            |debug mode

--- Comment #1 from Krinkle <[email protected]> ---
This has nothing to do with minification.

Class "collapsible" is something that is handled by a community maintained
gadget. A gadget that is several years old having many (mostly unmaintained)
copies on many wikis.

It has been failing on various wikis where the old version is still used that
assumes the legacy loading method where everything is a global variable.

The reason it works in debug mode is because in debug mode the scripts are
loaded via <script> in the global scope.

The solution is to either:

* Upgrade your copy of the community-maintained "collapsible" gadget on your
wiki.

* Use mw-collapsible instead (which is handled by jquery.makeCollapsible).

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to