Difference between revisions of "Help:Searching"

From Wikispooks
Jump to navigation Jump to search
Line 1: Line 1:
 
[[File:Magnifyinglass.jpg|right]]
 
[[File:Magnifyinglass.jpg|right]]
The quickest way to find information in the '''WikiSpooks''' Wiki is to look it up directly. On the top-right side of your screen there is a '''Search''' box with two buttons to the right of it labeled "{{int:searcharticle}}" and "{{int:searchbutton}}".  
+
'''There are two separate and distinct search engine implementations on Wikispooks:'''
 +
# A Custom Google search which searches the entire Wikispooks sites, including Wikispooks hosted mirrors, the WikiSpooks blog and the Wikispooks collection of bit-torrent files.
 +
# The built-in Wiki search engine which searches the WikiSpooks wiki only.
 +
 +
==Google Custom Search==
 +
<br/>
 +
<googlecoop></googlecoop>
 +
<br/>
 +
'''Entering a search term in the above box initiates a search of ALL of the following:
 +
*WikiSpooks wiki (ie the wiki you are reading now)
 +
*[http://www.wikispooks.org/blog/ WikiSpooks blog]
 +
*WikiSpooks hosted mirrors:
 +
**[[ISGP Archive]]
 +
**[http://wikileaks.wikispooks.com/ Wikileaks Mirror]
 +
*[http://wikileaks.wikispooks.com/torrent/ WikiSpooks bit-torrent files collection]
 +
 +
==Built-in Wiki Search Engine==
 +
This is the quickest way to find information in the '''WikiSpooks''' Wiki is to enter a search term  in the '''search box''' on the top-right side of your screen.
 
{{QB|
 
{{QB|
 
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.
+
* Pressing ''Enter'' on keyboard or clicking the magnifying glass icon 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).
+
* Clicking the box that appears below the input box will search the text of all pages on the wiki (with some restrictions, see below).
 
}}
 
}}
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 ==
+
If you pressed enter or you clicked  magnifying glass icon 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).
Here's how the search works:
 
  
 +
===How it works ===
 +
This is how the search works:
 
* 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 “{{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 initiate the search, 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 “{{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 magnifying glass icon 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 {{ns:2}} pages. Tick the namespaces you require for this 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. This can be done by selecting and deselecting boxes in the ”search” section of user preferences.
 
  
 +
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 [[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. This can be done by selecting and deselecting boxes in the ”search” section of user preferences.
  
 
[[Category:Help|Searching]]
 
[[Category:Help|Searching]]
 
[[Category:Search]]
 
[[Category:Search]]

Revision as of 08:31, 24 April 2011

Magnifyinglass.jpg

There are two separate and distinct search engine implementations on Wikispooks:

  1. A Custom Google search which searches the entire Wikispooks sites, including Wikispooks hosted mirrors, the WikiSpooks blog and the Wikispooks collection of bit-torrent files.
  2. The built-in Wiki search engine which searches the WikiSpooks wiki only.

Google Custom Search


<googlecoop></googlecoop>
Entering a search term in the above box initiates a search of ALL of the following:

Built-in Wiki Search Engine

This is the quickest way to find information in the WikiSpooks Wiki is to enter a search term in the search box on the top-right side of your screen.

Put your keyword in the searchbox.

  • Pressing Enter on keyboard or clicking the magnifying glass icon will take you automatically to the article, if it exists.
  • Clicking the box that appears below the input box will search the text of all pages on the wiki (with some restrictions, see below).

If you pressed enter or you clicked magnifying glass icon 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

This is 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 initiate the search, 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 magnifying glass icon 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.