Hi all,
Welcome to this week's deployment highlights! I'm pretending to be Greg today.
The full log of planned deployments next week can be found at: https://wikitech.wikimedia.org/wiki/Deployments#Week_of_Aug_25th
A couple of notable items on Tuesday of next week * Global user CSS and JS will be enabled. More details in Legoktm's announcement: https://lists.wikimedia.org/pipermail/wikitech-ambassadors/2014-August/000893.html * The "in other projects" sidebar will be enabled as a Beta Feature next week: https://www.mediawiki.org/wiki/Beta_Features/Other_projects_sidebar
As usual, the release train keeps rolling. 1.24wmf18 (currently on test.wikipedia.org, test2.wikipedia.org and mediawiki.org) will be rolled out to the remainder of sites over the course of the week. https://www.mediawiki.org/wiki/MediaWiki_1.24/wmf18
...and 1.24wmf19 (currently still in active development) will be branched on Thursday and deployed to mediawiki.org then: https://www.mediawiki.org/wiki/MediaWiki_1.24/wmf19
That's all for now. Greg will go back to pretending to be Greg on Monday. :-)
Rob
Rob Lanphier, 22/08/2014 22:10:
- Global user CSS and JS will be enabled. More details in Legoktm's
announcement: https://lists.wikimedia.org/pipermail/wikitech-ambassadors/2014-August/000893.html
- The "in other projects" sidebar will be enabled as a Beta Feature next week:
https://www.mediawiki.org/wiki/Beta_Features/Other_projects_sidebar
Fantastic week, a true landmark (thanks Legoktm and Tpt + Hoo/Wikidata folks). Is there a JavaScript snippet I can add to my [[m:Special:MyPage/global.js]] to enable this beta feature globally without visiting Special:Preferences everywhere? Would be worth mentioning in the page.
Nemo
On Sat, 13 Sep 2014 21:28:05 +0200, Federico Leva (Nemo) nemowiki@gmail.com wrote:
Is there a JavaScript snippet I can add to my [[m:Special:MyPage/global.js]] to enable this beta feature globally without visiting Special:Preferences everywhere? Would be worth mentioning in the page.
I just composed one.
// Intentionally using non-strict comparison with ==, not ===, because of bug 52542 if ( mw.user.options.get( 'wikibase-otherprojects' ) == 0 ) { mw.loader.using( 'mediawiki.api', function () { var api = new mw.Api(); api.postWithToken( 'options', { action: 'options', optionname: 'wikibase-otherprojects', optionvalue: 1 } ); } ); }
This can naturally be reused for other global preferences you might want to set. Note that it will "take effect" the second time you visit a page on a given wiki: the first page load will set the preference, and the new value will be available after you refresh.
(If you ever want to extend it to set multiple options, the API must be called differently – see the documentation for the 'change' parameter on https://www.mediawiki.org/wiki/API:Options#Parameters – unfortunately it's rather clunky. I've been meaning to write a helper function for this for some time now.)
Il 14/09/2014 23:28, Bartosz Dziewoński ha scritto:
(If you ever want to extend it to set multiple options, the API must be called differently – see the documentation for the 'change' parameter on https://www.mediawiki.org/wiki/API:Options#Parameters – unfortunately it's rather clunky. I've been meaning to write a helper function for this for some time now.)
On Sun, 19 Oct 2014 13:21:30 +0200, Ricordisamoa ricordisamoa@openmailbox.org wrote:
Il 14/09/2014 23:28, Bartosz Dziewoński ha scritto:
(If you ever want to extend it to set multiple options, the API must be called differently – see the documentation for the 'change' parameter on https://www.mediawiki.org/wiki/API:Options#Parameters – unfortunately it's rather clunky. I've been meaning to write a helper function for this for some time now.)
Oh huh, I actually have my own pending change for this at https://gerrit.wikimedia.org/r/#/c/160308/ .
wikitech-ambassadors@lists.wikimedia.org