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@wikimedia.orgwrote:
On 4 March 2013 14:59, Krenair krenair@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
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
J.
James D. Forrester Product Manager, VisualEditor Wikimedia Foundation, Inc.
jforrester@wikimedia.org | @jdforrester
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l