Compare https://de.wikipedia.org/w/api.php?action=query&list=search&srsearch=wikiproject+spam and https://de.wikipedia.org/w/index.php?title=Spezial%3ASuche&search=wikiproject+spam&go=Go : the API search returns zero results (promising three) while the GUI search returns two.
There's also a spurious sroffset query continuation (not sure if this is a separate bug).
I'm guessing this is a WMF specific issue, as it works exactly as expected on en.wp: https://en.wikipedia.org/w/api.php?action=query&list=search&srsearch=wikiproject+spam https://en.wikipedia.org/w/index.php?title=Special%3ASearch&search=wikiproject+spam&go=Go.
Version: unspecified
Severity: normal