Last modified: 2014-11-12 19:36:29 UTC
On action=query&generator=search&gsrsearch=Einleitung&list=search&srsearch=Einleitung I get an "internal_api_error_MWException": Internal error in ApiResult::setElement: Attempting to add element totalhits=9419, existing value is 9419". This is ridicolous, I think the method should not throw an error when one requests to set a property to the already existing, quite same value. Nothing against a warning, but an exception imho is a bit too much. The result would not be wrong, and would be handled correctly by the requester. But this is also a structural problem. By searching for two different expressions, the numbers easily would differ. Should we disallow generator modules to set any output values, making their only purpose to return a list of pages/revisions? Or give them a special output section?
Fixed by Gerrit change #172794 (bug 73321)