On Wed, May 10, 2017 at 3:48 AM, Yongmin H. <[email protected]> wrote:

> Language is hackable via JS but settings like 'set timezone to blah blah,
> disable VE if it's enabled, disable compact language if enabled, set email
> to plaintext only, disable xwiki notification, ...' can't be done via JS
> hack, which is unfortunate.
>

It probably can, almost[1] anything you can change in Special:Preferences
could be changed via something in your global user JS calling the action
API's action=options.

The main drawback is that it wouldn't take effect on a wiki until after the
first time you visit a page there that loads your global user JS.


[1]: There are a few things like 'realname' and 'emailaddress' that can't
be set that way.

-- 
Brad Jorsch (Anomie)
Senior Software Engineer
Wikimedia Foundation
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to