「ヘルプ:Searching」の版間の差分

提供: ひつじ小屋別館2代目
移動先: 案内検索
(avoid redirect on enwiki link, minor rephrasing at top)
 
(1版 をインポートしました)
 
(8人の利用者による、間の18版が非表示)
1行目: 1行目:
{{PD Help Page}}
+
<languages/>
 +
{{TNT|PD Help Page}}
 +
 
 +
{{#ifeq:MediaWiki|{{SITENAME}}|{{warn|For help searching, use [[Help:CirrusSearch]] and [[Help talk:CirrusSearch]].}} {{Warning|DO NOT USE this page for help searching, because this page documents the default search engine for MediaWiki, which hasn't changed, NOT CirrusSearch, which became the default search engine '''for Wikipedia and WikiMedia sites'''.  Thus, some of the info on this, the [[Help:Searching]] page became, and remains, confusing to most people who come upon it.}}}}
 +
 
 
<translate>
 
<translate>
:'''''NB''' This page summarizes the built-in search function. A wiki may have more detailed information about available options and features enabled on it, for example the  [[w:en:Help:Searching|Search help page]] on English Wikipedia.''
+
<!--T:1-->
 +
''Help:Searching'' is the default page for help searching on any MediaWiki installation. This page may describe [[Extension:Lucene-search|Lucene-search]] or [[Extension:MWSearch]] or the [http://lucene.apache.org/ built-in Search engine] that runs when no Search extensions are installed.
  
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 '''{{lcfirst:{{int:search}}}}''' box with a magnifying glass icon
+
<!--T:2-->
 +
The quickest way to find information in {{SITENAME}} is to look it up directly. On every page there is a '''<tvar|search>{{lcfirst:{{int|search}}}}</>''' box.
  
Enter your search terms and press ''Enter'' or click the magnifying glass icon.
+
<!--T:3-->
If a page has the same title as what you entered, you jump straight to that page.
+
Enter key words and phrases and press ''Enter'' or ''Return'' or click the magnifying glass icon or Search or Go button.
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.
+
If a page has the same title as what you entered (or you use the Go button) you jump straight to that page.{{dubious|Search for exact page name still brings up search result, not the 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 informing you that no page has all the key words and phrases.
  
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
 
; {{int:searcharticle}} : clicking this (or pressing ''Enter'') will take you to the page, if it exists.
 
; {{int:searchbutton}} : clicking this searches articles on the wiki
 
  
== How it works ==
+
</translate>
 +
 
 +
== How it works == <!--T:5-->
 +
 
 +
<translate>
 +
<!--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 {{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 "<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.
* Even if you enclose a phrase in quotes, the search looks for each word individuallye.g., if you enter "world war 2" it will return pages that contain "world" and "war" and "2". ''(not true?)''
+
* 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.
+
 
 +
<!--T:10-->
 +
* The search functionality can be considered to operate on '''whole words''', separated by spaces or other punctuation marksSo 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 == <!--T:6-->
  
== Restricting the search ==
+
<!--T:11-->
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)
+
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.  
 
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.
 
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>
 
</translate>
 +
 +
== See also ==
 +
* [[Fulltext search engines]]
  
 
__NOTOC__
 
__NOTOC__
{{Languages}}
 
  
 
[[Category:Help{{LangCat|Searching}}|Searching]]
 
[[Category:Help{{LangCat|Searching}}|Searching]]
 
[[Category:Search{{LangCat|Searching}}|Searching]]
 
[[Category:Search{{LangCat|Searching}}|Searching]]

2016年7月24日 (日) 00:25時点における最新版

PD Note: When you edit this page, you agree to release your contribution under the CC0. See Public Domain Help Pages for more info.
PD
</div>


Help:Searching is the default page for help searching on any MediaWiki installation. This page may describe Lucene-search or Extension:MWSearch or the built-in Search engine that runs when no Search extensions are installed.

The quickest way to find information in ひつじ小屋別館2代目 is to look it up directly. On every page there is a 検索 box.

Enter key words and phrases and press Enter or Return or click the magnifying glass icon or Search or Go button. If a page has the same title as what you entered (or you use the Go button) you jump straight to that page.[dubious ] 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 informing you that no page has all the key words and phrases.


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 "編集", 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 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 "検索" 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 利用者 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.

See also[編集]

案内メニュー