Difference between revisions of "Help:Searching"
m (1 revision(s)) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | The quickest way to find information in MediaWiki is to look it up directly. | + | {{PD Help Page}} |
+ | :'''''NB''' This page summarizes the search function. More detailed information about available options can be found on the [[wikipedia:Wikipedia:Searching|Search documentation page]] on English Wikipedia.'' | ||
+ | |||
+ | The quickest way to find information in MediaWiki is to look it up directly. In the top right of your screen there is a '''{{lcfirst:{{int:search}}}}''' box with two buttons under it labeled "{{int:searcharticle}}" and "{{int:searchbutton}}". | ||
<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. | ||
− | * | + | * '''{{int:searcharticle}}''' - (or ''Enter'' on keyboard) will take you automatically to the article, if it exists. |
− | * | + | * '''{{int:searchbutton}}''' - will search the text of all pages on the wiki (with some restrictions, see below). |
</div> | </div> | ||
− | If you clicked | + | If you clicked “{{int:searcharticle}}”, or you clicked “{{int:searchbutton}}” 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 == | == How it works == | ||
Line 14: | Line 16: | ||
* Only the article content is searched - the page title is ignored. | * 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 | + | * 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 “{{lcfirst:{{int: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". | * 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. | * The search is not case-sensitive, so "MediaWiki", "mediawiki" and "MEDIAWIKI" all give the same result. | ||
== Restricting the search == | == Restricting the search == | ||
− | If you click the | + | If you click the “{{int:searchbutton}}” button without filling in anything, you will be taken to “Special:Search” which gives you extra searching options (also available from any search results list) |
− | You may find it useful to restrict a search to pages within a particular [[Help:Namespaces|namespace]] e.g., only search within the | + | You may find it useful to restrict a search to pages within a particular [[Help:Namespaces|namespace]] e.g., only search within the {{ns:2}} pages. Tick the namespaces you require for this search. |
− | By default only the | + | By default only the 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. This can be done by selecting and deselecting boxes in the ”search” section of user preferences. |
__NOTOC__ | __NOTOC__ | ||
− | + | {{Languages}} | |
[[Category:Help|Searching]] | [[Category:Help|Searching]] | ||
− | [[Category:Search]] | + | [[Category:Search|Searching]] |
Latest revision as of 02:16, 7 December 2010
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. See Project:PD help/Copying for instructions. |
- NB This page summarizes the search function. More detailed information about available options can be found on the Search documentation page on English Wikipedia.
The quickest way to find information in MediaWiki is to look it up directly. In the top right 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 “Go”, or you clicked “Search” 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
If you click the “Search” button without filling in anything, you will be taken to “Special:Search” which gives you extra searching options (also available from any search results list)
You may find it useful to restrict a search to pages within a particular namespace e.g., only search within the User pages. Tick the namespaces you require for this 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. This can be done by selecting and deselecting boxes in the ”search” section of user preferences.