Typecraft v2.5
Jump to: navigation, search

Difference between revisions of "Help:Searching in the TypeCraft Wiki"

 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{TcCopyEdit}}
 
{{TcCopyEdit}}
  
The TypeCraft wiki has, like any mediawiki, a search box, which you find on the navigation bar. You can type search terms into the search box and then choose *SELECT* and  a search results page will open.
 
  
If there is no result or the result is not useful, you still can use the Search page area called "Advanced" to specify the search domain. A mediawiki calls collections of wiki pagers [[WP:namespace|namespaces]]. You could also go to your user preferences page in order to tell the TypeCraft wiki in which namespaces you would like to search when using the wiki search box.  
+
To access the wiki pages for search, write part of the name of the page wanted into the '''Search TC-wiki''' slot in the upper right cormer. You can choose between coontinuations of the name, and  a '''Search results''' page will open, either with the desired page, or a set of ''Page title matches'', between which you can further select.
  
 +
For further specification of the search domain, the upper navigation bar on this page has a slot "Advanced". A Mediawiki calls collections of wiki pagers [[WP:namespace|namespaces]]. The advanced option allows you to specify more precisely in which namespace you want the wiki to search.
 +
You can also go to your user preferences page (accessible on the uppermost navigation bar to the right) in order to tell the TypeCraft wiki in which namespaces you would like to search when using the wiki search box.
  
  
==Search results page==
 
  
The intent of the ''search results page'' is to use the newly placed search box to refine a list of results. You do this by writing query commands into the search box. For example, if you want to see more terms highlighted use "OR", and if you want to see all pages with the terms "language" and "annotation, write "language AND annotation"
+
====The Search results page====
  
 +
The intent of the ''Search results'' page is to use the newly placed search box to refine a list of results. You do this by writing query commands into the search box. For example, if you want to see more terms highlighted use "OR", and if you want to see all pages with the terms "language" and "annotation, write "language AND annotation"
  
===Other uses===
 
To get Wikipedia search results while on any ''[[web page]]'', you can temporarily set your browser's (web-based) search box to interface the Wikipedia search engine and land on Wikipedia's search results page; see ''[[Help:Searching from a web browser]]''. This trick removes the need to first navigate to Wikipedia from a web page, and ''then'' do the search or navigation.  It is a temporary change, and then you put it back to your preferred web-search engine.
 
  
Say while on some web page, you decide to research, at Wikipedia, material on that web page. You change your web-search box to "Wikipedia (en)", and enter the [[Help:page name|page name]] or the query ''while on that web page''. The other example is that you decide to contribute information from the web to Wikipedia. Furthermore, you can reach all twelve [[WP:SISTER|sister projects]] the same way. For example, you can go straight to a [[Wiktionary]] entry by using the prefix '''wikt:''' ''from your web-search box''.
+
=====Syntax for search terms=====
 +
The TypeCraft wiki supports the "-" character for "logical not", the AND, the OR, and the grouping parenthesis. Logical OR can be specified by spelling it out in capital letters.
  
===User preferences===
+
The AND operator is assumed for all terms separated by spaces. Therefore, if you would like to look for the Brazilian Portuguese you have to use the parenthesis. You write: <code> "Brazilian Portuguese"</code>. If you use <code> Brazilian Portuguese</code> instead it is equivalent to using AND.
{{main|Help:User preferences}}
+
  
The search results page can open in a new tab. If your browser does not already have the manual ability to open any linked page in a new tab when you press and hold the Ctrl-key (PC) or {{Cmd}}-key (Mac), this functionality can be enabled at {{myprefs|Gadgets}} in the ''Browsing'' section. There are also custom user-scripts to make all search results always open in a new tab. (See the scripts available in ''[[#See also|See also]]''.)
+
Or to say it differently: Double quotes can define a single search term that contains spaces. For example, "noun classes" is now defined such that the space between "noun" and "class" counts as a character, and not like a logical AND.
 +
 
 +
   
 +
'''Exclusion'''
  
If you [[Wikipedia:Why create an account|create an account]] you can visit your [[Special:Preferences]] page (requires JavaScript) to set up:
+
Terms can be excluded by prefixing a hyphen or dash (-), which, as mentioned above, is "logical not".
* to search Wikipedia with ''your own search engine'' to see its search results ({{myprefs|Gadgets}} under ''Appearance'')
+
For example: <code> -"Brazilian Portuguese"</code> finds all articles with "Brazilian" and "Portuguese" except those with the phrase "Brazilian Portuguese".
* to widen the search box ({{myprefs|Gadgets}} under ''Appearance'')
+
* to disable the quasi-search results that drop down from the search box while you type ({{myprefs|Gadgets}} under ''Appearance'')
+
* to enable wildcard prefix searches, e.g., "Splark*" ({{myprefs|Gadgets}} under ''Advanced'')
+
  
 +
   
 +
'''Wildcard search'''
  
===Syntax===
+
A wildcard character *, standing for any length of character-string can prefix or suffix a word or string. : the query Anno* will list pages with words like: "annotation", "annotating" and "annotator", while a search for *logue will list pages with the words ''Ethnologue'' or ''dialogue'' in them.
 
+
'''Phrases in double quotes''' – A phrase can be found by enclosing it in double quotes, "like this". Double quotes can define a single search term that contains spaces. For example, "holly dolly" where the space is a character, differs much from holly dolly where the space is interpreted as a logical AND.
+
 
+
Boolean search – All major search engines support the "-" character for "logical not", the AND, the OR, and the grouping parenthesis. Logical OR can be specified by spelling it out (in capital letters); the AND operator is assumed for all terms (separated by spaces), but spelling out AND is equivalent. Parentheses are a necessary feature because (blue OR red) AND green differs from blue OR (red AND green).
+
   
+
Exclusion – Terms can be excluded by prefixing a hyphen or dash (-), which is "logical not". For example while -refining -unwanted search results. For example credit card -"credit card" finds all articles with credit and card except those with the phrase "credit card".
+
   
+
Wildcard search – A wildcard character *, standing for any length of character-string can prefix or suffix a word or string: *like will return "childlike" and "dream-like"; this*, returns results like "thistle". For example, the query *stan lists articles like Kazakhstan and Afghanistan.
+

Latest revision as of 15:38, 25 December 2017


To access the wiki pages for search, write part of the name of the page wanted into the Search TC-wiki slot in the upper right cormer. You can choose between coontinuations of the name, and a Search results page will open, either with the desired page, or a set of Page title matches, between which you can further select.

For further specification of the search domain, the upper navigation bar on this page has a slot "Advanced". A Mediawiki calls collections of wiki pagers namespaces. The advanced option allows you to specify more precisely in which namespace you want the wiki to search. You can also go to your user preferences page (accessible on the uppermost navigation bar to the right) in order to tell the TypeCraft wiki in which namespaces you would like to search when using the wiki search box.


The Search results page

The intent of the Search results page is to use the newly placed search box to refine a list of results. You do this by writing query commands into the search box. For example, if you want to see more terms highlighted use "OR", and if you want to see all pages with the terms "language" and "annotation, write "language AND annotation"


Syntax for search terms

The TypeCraft wiki supports the "-" character for "logical not", the AND, the OR, and the grouping parenthesis. Logical OR can be specified by spelling it out in capital letters.

The AND operator is assumed for all terms separated by spaces. Therefore, if you would like to look for the Brazilian Portuguese you have to use the parenthesis. You write: "Brazilian Portuguese". If you use Brazilian Portuguese instead it is equivalent to using AND.

Or to say it differently: Double quotes can define a single search term that contains spaces. For example, "noun classes" is now defined such that the space between "noun" and "class" counts as a character, and not like a logical AND.


Exclusion

Terms can be excluded by prefixing a hyphen or dash (-), which, as mentioned above, is "logical not". For example: -"Brazilian Portuguese" finds all articles with "Brazilian" and "Portuguese" except those with the phrase "Brazilian Portuguese".


Wildcard search

A wildcard character *, standing for any length of character-string can prefix or suffix a word or string. : the query Anno* will list pages with words like: "annotation", "annotating" and "annotator", while a search for *logue will list pages with the words Ethnologue or dialogue in them.