Following our all-hands conversation, this task is to document, discuss, and hopefully improve the search API options used by the Help Panel.
These are the options currently being used:
- action: 'query',
- list: 'search',
- srnamespace: this.searchNamespaces.join( '|' ), // configurable per wiki, Wikipedia and Help generally
- srwhat: 'text', // search the arcticle text
- srprop: 'snippet', // please return a snippet of the article for each result
- srsearch: <text from the input as is>
For reference: search API documentation