Searching: Difference between revisions

From support-works
Jump to navigation Jump to search
(Created page with "The quickest way to find information in {{SITENAME}} is to look it up directly. In the Vector skin (the default MediaWiki skin since MW 1.16), near the top right of every page...")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
The quickest way to find information in {{SITENAME}} is to look it up directly. In the Vector skin (the default MediaWiki skin since MW 1.16), near the top right of every page there is a '''<tvar|search>{{lcfirst:{{int|search}}}}</>''' box with a magnifying glass icon
The quickest way to find information in on the {{SITENAME}} wiki is to look it up directly. At the top right of every page there is a '''Search''' box with a Go and Search Button next to it:
 
; Go : clicking this (or pressing ''Enter'') will take you to the page, if it exists.
; Search : clicking this searches articles on the wiki


<!--T:3-->
Enter your search terms and press ''Enter'' or click the magnifying glass icon.
If a page has the same title as what you entered, you jump straight to that page.
If a page has the same title as what you entered, you jump straight to that page.
Otherwise, it searches all pages on the wiki (with some restrictions, see below), and presents  a list of articles that matched your search terms, or a message that no matches were found.
Otherwise, it searches all pages on the wiki (with some restrictions, see below), and presents  a list of articles that matched your search terms, or a message that no matches were found.


<!--T:4-->
== How it works ==
In other skins, (and in Vector if your wiki sets the $wgVectorUseSimpleSearch configuration variable to false) the search box has two buttons on its right labeled
; <tvar|go>{{int|searcharticle}}</> : clicking this (or pressing ''Enter'') will take you to the page, if it exists.
; <tvar|search>{{int|searchbutton}}</> : clicking this searches articles on the wiki
 
== How it works == <!--T:5-->
 
<!--T:9-->
* It searches all pages on the wiki with some restrictions.
* It searches all pages on the wiki with some restrictions.
* 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 "<tvar|edit>{{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.
* 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.
* The search is not case-sensitive, so 'MediaWiki', 'mediawiki' and 'MEDIAWIKI' all give the same result.
* The search is not case-sensitive, so 'Support-Works', 'support-works' and 'SUPPORT-WORKS' all give the same result.


<!--T:10-->
* The search functionality can be considered to operate on '''whole words''', separated by spaces or other punctuation marks.  So if your search term includes the word 'book', the results will not include pages that only have the word 'books' or 'booklet'.  And if your search term includes the term 'inter', the results will not include pages that only have the word 'international', but they may include pages that have the term 'inter-national'.
* The search functionality can be considered to operate on '''whole words''', separated by spaces or other punctuation marks.  So if your search term includes the word 'book', the results will not include pages that only have the word 'books' or 'booklet'.  And if your search term includes the term 'inter', the results will not include pages that only have the word 'international', but they may include pages that have the term 'inter-national'.
* The results will only include pages that contain '''all''' the words in your search.
* The results will only include pages that contain '''all''' the words in your search.
Line 24: Line 17:


== Restricting the search == <!--T:6-->
== Restricting the search == <!--T:6-->
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)


<!--T:11-->
You may find it useful to restrict a search to pages within a particular namespace e.g., only search within the {{ns:2}} pages. Check the namespaces you require for this search.  
If you click the "<tvar|search>{{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)
 
<!--T:7-->
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. Check the namespaces you require for this search.  
 
<!--T:8-->
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.
</translate>
 
== See also ==
* [[Help:CirrusSearch]]
 
__NOTOC__


[[Category:Help{{LangCat|Searching}}|Searching]]
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.
[[Category:Search{{LangCat|Searching}}|Searching]]

Latest revision as of 13:54, 10 July 2015

The quickest way to find information in on the support-works wiki is to look it up directly. At the top right of every page there is a Search box with a Go and Search Button next to it:

Go
clicking this (or pressing Enter) will take you to the page, if it exists.
Search
clicking this searches articles on the wiki

If a page has the same title as what you entered, you jump straight to that page. Otherwise, it searches all pages on the wiki (with some restrictions, see below), and presents a list of articles that matched your search terms, or a message that no matches were found.

How it works

  • It searches all pages on the wiki with some restrictions.
  • 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.
  • The search is not case-sensitive, so 'Support-Works', 'support-works' and 'SUPPORT-WORKS' all give the same result.
  • The search functionality can be considered to operate on whole words, separated by spaces or other punctuation marks. So if your search term includes the word 'book', the results will not include pages that only have the word 'books' or 'booklet'. And if your search term includes the term 'inter', the results will not include pages that only have the word 'international', but they may include pages that have the term 'inter-national'.
  • The results will only include pages that contain all the words in your search.
  • You can search for a phrase using double quotes. A phrase can be considered to consist of whole words (case-insensitive), so the phrase 'Prime Minister' will not be found by a search for "ime Min", but it will be found by a search for "pRIME mINISTER".

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. Check 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.