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

Daniel Kinzler <brightb...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |brightb...@gmail.com

--- Comment #2 from Daniel Kinzler <brightb...@gmail.com> 2010-04-06 20:43:54 
UTC ---
$out->isUserJsAllowed() always returns false for the cirtical pages, which is
good. But it also returns false if $wgAllowUserJs is false, which is bad. it
would mean that Gadgets don't work on wikis with user JS disabled.

Gadgets are more like site JS, not so much like user JS. So,
$out->isUserJsAllowed() does not seem to be the right function to call.

The only alternative I see is to add more hard-coded checks in the gadgets
extension. Which also sucks. Ideas?

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