On Fri, Dec 13, 2013 at 2:04 PM, Bartosz DziewoĆski <matma.rex(a)gmail.com> wrote:
It's sorta kinda happening as we speak while no one is looking ;)
https://bugzilla.wikimedia.org/show_bug.cgi?id=57891
--
Matma Rex
Looks like the cat got out of the bag.
The GlobalCssJs extension allows users to add custom JS or CSS for
themselves on all wikis where they have an account. It's basically the
equivalent of common.js, but on a global scale. It has been a
requested feature since 2008[1].
For those not familiar with the history of global js/css, there
currently is a bot run by a steward[2] which creates common.js pages
importing the user's global.js upon request. This is mainly used by
users in the SWMT[3] to do things like enable global Twinkle[4]. While
this method works, it doesn't take advantage of ResourceLoader.
The extension will load User:$username/global.js and
User:$username/global.css using ResourceLoader. It also includes
MediaWiki:Global.js/css as the global equivalents of
MediaWiki:Common.js/css.
The bulk of the code is still awaiting review in gerrit[5].
[1]
https://bugzilla.wikimedia.org/show_bug.cgi?id=13953#c0
[2]
https://meta.wikimedia.org/wiki/Synchbot
[3]
https://meta.wikimedia.org/wiki/SWMT
[4]
https://meta.wikimedia.org/wiki/User:Snowolf/How_to_globally_Twinkle
[5]
https://gerrit.wikimedia.org/r/#/c/94837
-- Legoktm