On Mar 6, 2013, at 2:43 AM, Matthew Flaschen <[email protected]> wrote:

> On 03/05/2013 09:27 AM, James Forrester wrote:
>> You can of course always counter-over-ride your global JS/CSS locally - the
>> composite rule would presumably be changed to:
>> 
>> 1. file,
>> 2. site
>> 3. skin,
>> *. global-user
>> 4. local-user
> 
> However, it's trickier to override JS then override CSS.  For example,
> you can't remove a single event listener unless you have a reference to
> the original function.
> 
> Matt Flaschen
> 

Considering the "global" aspect it may be more useful (and flexible) to enforce 
this from the global script instead of from local preferences, which are rather 
annoying to maintain imho.

if ( dbname == wikidatawiki || .. ) {
 return;
}

-- Krinkle


_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to