Extension:SearchParserFunction

The SearchParserFunction extension adds a parser function to search, format and display search results in wiki pages.

Basic usage
This will search for pages that contain "foo" (in their text) and return the results as a list of links. You can use all available search operators and filters (see Help:CirrusSearch for documentation if you're using CirrusSearch). For example:

Parameters
This extension calls the search API internally and most of the parameters correspond to API parameters (but without the "sr" prefix). Read its documentation for details.


 * - Either 'text', 'title' or 'nearmatch', defaults to 'text'
 * - See Manual:Namespace constants, defaults to 0 (mainspace)
 * - Max number of results, defaults to 10
 * - Sorting criteria, defaults to 'relevance'

Formats
Defaults to 'list'.