https://bugzilla.wikimedia.org/show_bug.cgi?id=16548
Roan Kattouw <[EMAIL PROTECTED]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Roan Kattouw <[EMAIL PROTECTED]> 2008-12-03 19:34:15 UTC
---
(In reply to comment #0)
> http://en.wikipedia.org/w/api.php?action=query&list=search&srsearch=wikipedia&srnamespace=0
> works
> http://en.wikipedia.org/w/api.php?action=query&list=search&srsearch=wikipedia&srnamespace=1
> (or any other non-zero value) causes an error:
>
> <api>
> <error code="srsearch--disabled" info=" search is disabled">
> ...
>
> Note that the error code itself is invalid.
>
The invalid error code was fixed in r44186. Now you'll always get either
srsearch-text-disabled or srsearch-title-disabled.
> Further, these errors are not always replicable: I had one query which gave me
> an error code=gsrsearch-text-disabled, and when I repeated the identical query
> a few minutes later I got a non-error response.
>
You mean that you intermittently get the weird error message or a normal result
for the same query? I'm pretty sure that has to be a bug in the search backend.
Marking as FIXED for now, since the invalid error code was fixed and I'm pretty
sure the intermittent weirdness is not a bug in the API, but in the search
backend. If it persists, open a separate bug for it with Search or Lucene as
component.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l