(bug 32256) API list=search stops at first invalid result. Thanks to Lupo for finding...
authorRoan Kattouw <catrope@users.mediawiki.org>
Wed, 9 Nov 2011 17:20:05 +0000 (17:20 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Wed, 9 Nov 2011 17:20:05 +0000 (17:20 +0000)
commit2c5c3caa821414a1ba881362c499d169d1ab14ea
tree41b4ddb0dad80bb2cd6ef163e2a5a819cf26f111
parentd26a1cb66474e673fee9682b9a21d3c1657bd2c3
(bug 32256) API list=search stops at first invalid result. Thanks to Lupo for finding the cause of the bug: in the code path for invalid titles, the iterator wasn't moved to the next result, so the loop kept processing the same result until it hit the limit.
includes/api/ApiQuerySearch.php