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

--- Comment #4 from Thana <m8r-cyc...@mailinator.com> 2010-04-21 07:37:46 UTC 
---
> 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.

I guess you could add something like $out->isWikiJsAllowed()
which is basically:
>       /* do we load js from a wiki page under any circumstance */
>       return $wgAllowWikiJs && !($title->isCriticalPage());

And $out->isUserJsAllowed() would then become:
>       return $wgAllowUserJs && $out->isWikiJsAllowed();

In any case I was had hoped r64670 would be a candidate
for expedited scapping.

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