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
… - so you could fix local incompatibilities.
J.
On 5 March 2013 09:14, Isarra Yos <zhorishna(a)gmail.com> wrote:
Not rubbish - that would be quite useful. The only
problem is it would be
a somewhat limited use case. Many users never go near their css/js, so it
would just be another checkbox for them to ignore, and those who do use
global css/js would just as likely have wider scope issues than that - only
works on english projects, only applies where they have rollback, or don't
have rollback, etc - and at that point it would be a lot easier and more
effective for them to just add a check to the particular script/css rule
that it is on an applicable project before it runs.
Although that does assume the user actually understands what they're
putting in their user css/js files.
On 05/03/13 13:43, Paul Selitskas wrote:
I may be saying rubbish, but...
I think we should have a checkbox in Preferences where we can switch off
global JS and CSS for the wiki where this checkbox is set/unset. Let's
imagine I have a script which fits well for every project but Wikidata.
Then I go to the preferences and just disable the global script in
Wikidata.
On Tue, Mar 5, 2013 at 4:00 AM, James Forrester <jforrester(a)wikimedia.org
**wrote:
On 4 March 2013 14:59, Krenair <krenair(a)gmail.com> wrote:
On 04/03/13 22:57, Matthew Flaschen wrote:
> Has anyone looked at allowing a user to have global CSS and JS across
> all WMF wikis?
>
> I know you can hack it with a mw.loader.load on all the wikis you use,
> but it would be useful if CentralAuth had it built in.
>
> Is there a bug for this?
>
It seems so, yes:
https://gerrit.wikimedia.org/**r/7274<https://gerrit.wikimedia.org/r/727…
Bug:
https://bugzilla.wikimedia.**org/13953<https://bugzilla.wikimedia.org/13…
Yes, it would be really lovely to get this enhancement fulfilled
(either with that or new code); it's now on the backlog for "admin
tools development"[*].
(I speak conflicted, as someone who's used the bot to fake this
globally for my staff account.)
[*] -
https://www.mediawiki.org/**wiki/Admin_tools_development/**
Roadmap#Other_tasks<https://www.mediawiki.org/wiki/Admin_tools_developme…
J.
--
James D. Forrester
Product Manager, VisualEditor
Wikimedia Foundation, Inc.
jforrester(a)wikimedia.org | @jdforrester
______________________________**_________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/**mailman/listinfo/wikitech-l<https://lists.…
--
-— Isarra
______________________________**_________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/**mailman/listinfo/wikitech-l<https://lists.…
--
James D. Forrester
Product Manager, VisualEditor
Wikimedia Foundation, Inc.
jforrester(a)wikimedia.org | @jdforrester