[Wikitech-l] [FYI] Data and statistics about Wikimedia's technical contributors (in Gerrit)

2019-12-16 Thread Andre Klapper
Were you ever curious and wanted to know
* the number of Gerrit patches written by volunteer authors in a year?
* who are the most active patch authors in a Gerrit repository?
* who are the latest new patch contributors across Gerrit?
* who are the most active reviewers per Gerrit repository?
* how long it takes on average until Gerrit patches get a first review?

We have https://wikimedia.biterg.io/ for that (which is mostly about
Gerrit), which recently received some new features, hence I felt that I
should share this on wikitech-l@ as a heads-up for anyone interested.

Its documentation at https://www.mediawiki.org/wiki/Community_metrics
now covers how you could gather the data in the examples listed above.

Any questions? Or do you miss something specific? 
Feel free to bring up your thoughts on the talk page:
https://www.mediawiki.org/wiki/Talk:Community_metrics

Thanks a lot!
andre
-- 
Andre Klapper (he/him) | Bugwrangler / Developer Advocate
https://blogs.gnome.org/aklapper/


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] (no subject)

2019-12-16 Thread Bartosz Dziewoński

On 2019-12-16 10:46, Egbe Eugene wrote:

After writing to the VE surface from a Gadget, the page saves with just
empty '' tags with no text. I could be missing something in my
config for VE or use of the model. Please can I get a solution for this?

The sample data and the segment which writes to the model is found here[1].
[1] https://etherpad.wikimedia.org/p/sample_VE_model


Each item in the data array must be one character. I don't know how this 
ends up with '', but I get various exceptions when trying to 
type (or do anything with the editor) after running your snippet, so 
clearly something breaks terribly.


The corrected version would be like this:

var data = [
{type: 'mwHeading', attributes: {level: 2}},
'H', 'e', 'a', 'd', 'i', 'n', 'g', ' ', '2',
{type: '/mwHeading'}
];

Or, more convenient to write (using the "spread syntax" for arrays):

var data = [
{type: 'mwHeading', attributes: {level: 2}},
...'Heading 2'.split( '' ),
{type: '/mwHeading'}
];



--
Bartosz Dziewoński

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] WikimediaDebug v2 is here! – Staging, perf profiling, verbose log

2019-12-16 Thread Krinkle
WikimediaDebug is a browser extension to help debug WMF wikis in
production. [1]

TL;DR:
* The popup has been redesigned (including dark mode support).
* Support for Beta Cluster (including XHGui).
* A new "Inline profile" option.

For more details and a general overview of how WikimediaDebug works:
See https://phabricator.wikimedia.org/phame/live/7/post/183/


-- Timo

[1]
Firefox:
https://addons.mozilla.org/en-US/firefox/addon/wikimedia-debug-header/
Chrome:
https://chrome.google.com/webstore/detail/wikimediadebug/binmakecefompkjggiklgjenddjoifbb
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] TechCom Radar 2019-12-11

2019-12-16 Thread Kate Chapman
Hi All,

Here are the minutes from this week's TechCom meeting:

* On Last Call ending 2019-12-18: MediaWiki database policy and/or
guidelines (2019): 

* Last Call ended, TechCom will decide on approval in 2019-12-18
meeting RFC: Where to implement Desktop Improvements project


* Began discussing proposal: Hook container with strong types and DI


* Determined does not need to be a RFC: Should npm packages maintained
by Wikimedia be scoped or unscoped?


You can also find our meeting minutes at


See also the TechCom RFC board
.

If you prefer you can subscribe to our newsletter here


Thanks,
Kate

--
Kate Chapman
Senior Program Manager, Core Platform
Wikimedia Foundation
kchap...@wikimedia.org

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] Technical Advice IRC Meetings will not continue in 2020

2019-12-16 Thread Johanna Strodt
Hello,

apologies for cross-posting!

I am writing to inform you that at Wikimedia Deutschland we have decided to
stop having weekly Technical Advice IRC Meetings (TAIM)[1] at
#wikimedia-tech after the final meeting on December 18th. In other words,
Technical Advice IRC Meetings will not continue in 2020.

We realized that the regular IRC meeting format has achieved the limits of
its reach, and it is time for us to think about other means to better
support as many volunteer developers as possible contributing to Wikimedia
software.

At WMDE we’ll be dedicating our efforts in 2020 to constantly improve
documentation of our products, including Wikidata and Wikibase, to allow
easier usage and contribution. Our engineering teams are also exploring new
possibilities to support volunteer developers in a more asynchronous way
than regular IRC meetings. If you have any suggestions for this, please let
us know on our talk page.[2]


On this point we would like to send the warmest thank you to all the people
who hosted TAIM meetings, all participants asking and answering questions,
and all supporters of TAIM over the years.

Have a great seasonal break and see you around in 2020!

On behalf of TAIM crew at WMDE

Johanna


[1] https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting

[2] https://www.mediawiki.org/wiki/Talk:Technical_Advice_IRC_Meeting

-- 
Johanna Strodt
Project Manager for Community Communication / Technical Wishes Project

Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin
Tel. (030) 219 158 26-0
https://wikimedia.de
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] (no subject)

2019-12-16 Thread Egbe Eugene
Hi All,

After writing to the VE surface from a Gadget, the page saves with just
empty '' tags with no text. I could be missing something in my
config for VE or use of the model. Please can I get a solution for this?

The sample data and the segment which writes to the model is found here[1].


--
Eugene233

[1] https://etherpad.wikimedia.org/p/sample_VE_model
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Changing the action button labels of a OO.ui.confirm dialog

2019-12-16 Thread Egbe Eugene
Thanks very much for the suggestions.

On Fri, Dec 13, 2019 at 5:05 PM Bartosz Dziewoński 
wrote:

> You can actually customize the labels in OO.ui.confirm() too:
>
> OO.ui.confirm( '...', {
> actions: [
> { action: 'accept', label: 'Yes!', flags:
> 'primary' },
> { action: 'reject', label: 'No…', flags: 'safe' }
> ]
> } ).done( function ( confirmed ) {
> ...
> } );
>
> Make sure to keep the `action: 'accept'` and `action: 'reject'` (the
> dialog uses this to make the two buttons do things), the other pieces
> can be changed.
>
> --
> Bartosz Dziewoński
>
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l