Method to search the wiki using opensearch protocol.
object
openSearch
(string $search, [integer $limit = null], [array $namespace = null], [string $suggest = null], [string $format = null])
-
string
$search: Search string.
-
integer
$limit: Maximum amount of results to return.
-
array
$namespace: Namespaces to search.
-
string
$suggest: Do nothing if $wgEnableOpenSearchSuggest is false.
-
string
$format: Output format.
Method to perform a full text search.
object
search
(string $srsearch, [array $srnamespace = null], [string $srwhat = null], [array $srinfo = null], [array $srprop = null], [boolean $srredirects = null], [integer $sroffest = null], [integer $srlimit = null])
-
string
$srsearch: Search for all page titles (or content) that has this value.
-
array
$srnamespace: The namespace(s) to enumerate.
-
string
$srwhat: Search inside the text or titles.
-
array
$srinfo: What metadata to return.
-
array
$srprop: What properties to return.
-
boolean
$srredirects: Include redirect pages in the search.
-
integer
$sroffest: Use this value to continue paging.
-
integer
$srlimit: How many total pages to return.
Inherited Methods
Inherited From JMediawikiObject
JMediawikiObject::__construct()
JMediawikiObject::buildParameter()
JMediawikiObject::fetchUrl()
JMediawikiObject::validateResponse()