MediaWiki User Guide/Search

MediaWiki offers various search capabilities.

Overview
At a glance:
 * Plain text search
 * If CirrusSearch is enabled:
 * Search using regular expressions with "insource"
 * insource:/regexp/
 * insource:/regexp/i -- case insensitive
 * Search incategory:
 * Search deepcat:
 * Search intitle:
 * And more

In source
Examples:
 * insource:{{template
 * plain text search
 * insource:/== Pronunciation/
 * regular expression
 * insource:/== Etymology.*Pronunciation/
 * spans multiple rows
 * insource:/\{\{template/
 * escaped {

Links:
 * mw:Help:CirrusSearch

In title
Examples:
 * intitle:/mus.*rat/
 * regular expression
 * intitle:/mus.*rat$/
 * does not work; $ not supported

Links:
 * mw:Help:CirrusSearch

In category
Examples:
 * incategory:"English adjectives" muskrat

Links:
 * mw:Help:CirrusSearch

Negation
Using minus ("-").

Examples:
 * incategory:"English adjectives" -muskrat

(The example is not particularly meaningul; better find a better one.)

Note: This seems to work at least in some setups or for some versions but there is apparently no mention of it in mw:Help:CirrusSearch.

In other books

 * Regular expressions
 * JavaScript/Regular expressions