Help:Searching: Difference between revisions
No edit summary |
mNo edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
The quickest way to find information in MediaWiki is to look it up directly. On the left-hand side of your screen there is a '''Search''' box with two buttons under it labeled Go and Search. | The quickest way to find information in MediaWiki is to look it up directly. On the left-hand side of your screen there is a '''Search''' box with two buttons under it labeled Go and Search. | ||
div style=border:1px solid #ababff; background: #fdfdff; padding: 1em; margin: 1.1em 1em 1em 0em; font-size:105% | <div style=border:1px solid #ababff; background: #fdfdff; padding: 1em; margin: 1.1em 1em 1em 0em; font-size:105%> | ||
Put your keyword in the searchbox. | Put your keyword in the searchbox. | ||
* font face=MS Sans Serif,Arial'''Go'''/font - (or ''Enter'' on keyboard) will take you automatically to the article, if it exists. | * <font face=MS Sans Serif,Arial>'''Go'''</font> - (or ''Enter'' on keyboard) will take you automatically to the article, if it exists. | ||
* font face=MS Sans Serif,Arial'''Search'''/font - will search the text of all pages on the wiki (with some restrictions, see below). | * <font face=MS Sans Serif,Arial>'''Search'''</font> - will search the text of all pages on the wiki (with some restrictions, see below). | ||
/div | </div> | ||
If you clicked 'search', or you clicked 'go' and the page you were looking for did not exist, you will be presented with a list of articles that matched your search criteria (or a message that no matches were found). | If you clicked 'search', or you clicked 'go' and the page you were looking for did not exist, you will be presented with a list of articles that matched your search criteria (or a message that no matches were found). | ||
Line 21: | Line 21: | ||
== Restricting the search == | == Restricting the search == | ||
By default only the [[Help:namespaces|namespaces]] specified in your [[Help:preferences|preferences]] will be searched. Logged-in users can change their preferences to specify the namespaces they want to search by default, or if you just want to specify different namespaces for a single search then you can do so on the search results page. | By default only the [[Help:namespaces|namespaces]] specified in your [[Help:preferences|preferences]] will be searched. Logged-in users can change their preferences to specify the namespaces they want to search by default, or if you just want to specify different namespaces for a single search then you can do so on the search results page. | ||
__NOTOC__ | __NOTOC__ | ||
[[Category:Help|Searching]] | [[Category:Help|Searching]] |
Latest revision as of 14:37, 21 December 2023
Important note: When you edit this page, you agree to release your contribution into the Public Domain. If you don't want this or can't do this because of license restrictions, please don't edit. This page is one of the Public Domain Help Pages, which can be freely copied into fresh wiki installations and/or distributed with MediaWiki software; see Help:Contents for an overview of all pages. |
The quickest way to find information in MediaWiki is to look it up directly. On the left-hand side of your screen there is a Search box with two buttons under it labeled Go and Search.
Put your keyword in the searchbox.
- Go - (or Enter on keyboard) will take you automatically to the article, if it exists.
- Search - will search the text of all pages on the wiki (with some restrictions, see below).
If you clicked 'search', or you clicked 'go' and the page you were looking for did not exist, you will be presented with a list of articles that matched your search criteria (or a message that no matches were found).
How it works
Here's how the search works:
- Only the article content is searched - the page title is ignored.
- The article content is searched in its raw (wikitext) form - i.e. it searches the text that appears in the edit box when you click 'edit', not the rendered page. This means that content coming from an included template will not be picked up, but the target of piped links will be.
- Even if you enclose a phrase in quotes, the search looks for each word individually. e.g. if you enter world war 2 it will return pages that contain world and war and 2.
- The search is not case-sensitive, so MediaWiki, mediawiki and MEDIAWIKI all give the same result.
Restricting the search
By default only the namespaces specified in your preferences will be searched. Logged-in users can change their preferences to specify the namespaces they want to search by default, or if you just want to specify different namespaces for a single search then you can do so on the search results page.