https://bugzilla.wikimedia.org/show_bug.cgi?id=32256

Lupo <lupo.bugzi...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lupo.bugzi...@gmail.com

--- Comment #4 from Lupo <lupo.bugzi...@gmail.com> 2011-11-09 11:12:13 UTC ---
I think the immediate cause for the different search results is line 132 in
http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/api/ApiQuerySearch.php?view=markup
: $result should be advanced before continuing, otherwise the API will just
loop $limit times in vain.

Add

$result = $matches->next(); 

before that "continue" and the API and Special:Search should again return the
same results.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to