When using the REST API to search on my wiki (https://yi.hamichlol.org.il), whether content or titles, I'm always getting the "missingparam" failureCode - although the q paramater clearly is set.
Steps to replicate the issue (include links if applicable):
- Go to https://yi.hamichlol.org.il/w/rest.php/v1/search/title?q=11&limit=10
- Observe the error returned, which is clearly incorrect
- Go to https://yi.hamichlol.org.il/w/rest.php/v1/search/page?q=11&limit=10 and see the same
What happens?:
Getting an error: The "q" parameter must be set.
What should have happened instead?:
Valid results should be returned, when there are (as in this case, see https://yi.hamichlol.org.il/באַזונדער:בלעטער_וואס_הייבן_אן_מיט?prefix=11&namespace=0), or empty array when there aren't.
Other endpoints, which don't use the 'q' parameter, work just fine. Such as:
https://yi.hamichlol.org.il/w/rest.php/v1/page/11/bare
Software version (skip for WMF-hosted wikis like Wikipedia):
MediaWiki 1.39.4