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

           Summary: list=search&srnamespaces causes odd error messages
           Product: MediaWiki
           Version: 1.14-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: API
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED], [EMAIL PROTECTED]


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.

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.


-- 
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

Reply via email to