https://bugzilla.wikimedia.org/show_bug.cgi?id=12211
Mike.lifeguard <[EMAIL PROTECTED]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[EMAIL PROTECTED]
--- Comment #10 from Mike.lifeguard <[EMAIL PROTECTED]> 2008-11-22 19:08:43
UTC ---
(In reply to comment #9)
> By brion in r37278:
> I'm a bit leery of the 'on by default' entirely at the moment. :)
>
You can do things like
var gadget_removeimagetools = 1;
in a gadget. And then check
if(typeof gadget_removeimagetools == 'undefined') gadget_removeimagetools = 0;
if(gadget_removeimagetools != 1) addOnloadHook(add_all_user_tools);
in Common.js or whatever. This lets you disable parts of the common site js.
That can be used as a workaround if that sort of thing can't be done in the php
nicely. Though, I doubt Brion would be any less "leery" of this technique.
--
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 watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l