MediaWiki User Guide/Search

MediaWiki offers various search capabilities.

Overview

edit

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

edit

Examples:

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

Links:

In title

edit

Examples:

  • intitle:/mus.*rat/
    regular expression
  • intitle:/mus.*rat$/
    does not work; $ not supported

Links:

In category

edit

Examples:

  • incategory:"English adjectives" muskrat

Links:

Negation

edit

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

edit
edit