Nov 29 2017
Nov 16 2017
Yes, after further investigation it seems we can use a proxy just fine. Thanks for your quick comments! This ticket can be closed then
Nov 9 2017
Yeah, the actual query indeed stops at the first row. Thanks for clarifying :)
On a MySQL 5.7 install:
Yeah, that's my bad - but the query is still there via DatabaseMysqlBase.
A potential alternative would be to use a DESCRIBE query here, kind of like this.
Sep 4 2017
May 23 2017
May 22 2017
Based on my work around T165981 during the 2017 Hackathon - which essentially involved creating a prototype implementation of Wikia's ContentReview extension compatible with core MediaWiki - I would like to note the following:
May 21 2017
A few notes on how we can progress from here:
Demo produced during hackathon is at https://github.com/TK-999/mediawiki-extensions-ContentReview
Looks like this is the same issue that was reported in T157508
Feb 16 2017
Feb 15 2017
I've attached a patch which adds a simple check to return early if condition is 0 or invalid, with an associated unit test.
Feb 9 2017
Feb 7 2017
It seems when software performs block check via User::isBlocked etc., Block::newLoad tries to find the best matching block based on type, and because of https://github.com/wikimedia/mediawiki/blob/master/includes/Block.php#L332 the first match of Block::TYPE_IP (the older block) will always be preferred for anons.