[Wikitech-l] CI updates: Quibble on Stretch, and Headless Chrome 71

2019-02-09 Thread Krinkle
TL;DR: * MediaWiki jobs now run on the same Debian OS version as wmf-production, which makes make the wmf-quibble PHPUnit tests even more useful. * The QUnit tests for MediaWiki repos now use Headless Chrome. (For other repos, this was done last year.) ## Quibble HHVM now on Debian Stretch

Re: [Wikitech-l] A potential new way to deal with spambots

2019-02-09 Thread Pine W
OK. Yesterday I was looking with a few other ENWP people at what I think was a series of edits by either a vandal bot or an inadequately designed and unapproved good faith bot. I read that it made approximately 500 edits before someone who knew enough about ENWP saw what was happening and did

[Wikitech-l] GSoC' 19 project idea ( proposal)

2019-02-09 Thread K. Kaushik Reddy
Hi team, This is Kaushik Reddy. After a long work, I would like to introduce you to my idea proposal for the (Wikimedia) GSoC '19. Here is it: 1) Building an animation to dynamically create popups overlapped on a geographical map using a real-time API from Wikimedia. I had found the root of this

Re: [Wikitech-l] A potential new way to deal with spambots

2019-02-09 Thread Gergo Tisza
On Fri, Feb 8, 2019 at 6:20 PM Pine W wrote: > I don't know how practical it would be to implement an approach like this > in the Wikiverse, and whether licensing proprietary technology would be > required. > They are talking about Polyform [1], a reverse proxy that filters traffic with a

Re: [Wikitech-l] Code sniff for verbose conditionals

2019-02-09 Thread Stas Malyshev
Hi! > I was saying, you can find several examples of wrong and correct code at > [1]. > Thiemo pointed out that this patch could encourage to write shorter and > less readable code (you can find his rationale in Gerrit comments), and I > partly agree with him. My proposal is to only trigger the

Re: [Wikitech-l] A potential new way to deal with spambots

2019-02-09 Thread Pine W
To clarify the types of unwelcome bots that we have, here are the ones that I think are most common: 1) Spambots 2) Vandalbots 3) Unauthorized bots which may be intended to act in good faith but which may cause problems that could probably have been identified during standard testing in

[Wikitech-l] Code sniff for verbose conditionals

2019-02-09 Thread Daimona
Currently, there's a patch under review [0] to enable a PHP sniff which would detect so called "Pointless conditionals". These are conditionals (if...else or ternary) where both branches only assign or return a boolean value, and which could potentially one-lined using the if condition. T

Re: [Wikitech-l] Code sniff for verbose conditionals

2019-02-09 Thread Daimona
(Pardon, I hit "send" while typing :/) I was saying, you can find several examples of wrong and correct code at [1]. Thiemo pointed out that this patch could encourage to write shorter and less readable code (you can find his rationale in Gerrit comments), and I partly agree with him. My proposal