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.