Typecraft v2.5
Jump to: navigation, search

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

(Syntax)
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.  
+
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.  
+
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]]. The advanced option allows you to specify more precisely in which namespace you want the wiki to search.
 +
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.  
  
  
Line 10: Line 11:
  
 
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 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"
y create an account|create an account]] you can visit your [[Special:Preferences]] page (requires JavaScript) to set up:
 
* to search Wikipedia with ''your own search engine'' to see its search results ({{myprefs|Gadgets}} under ''Appearance'')
 
* 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'')
 
 
  
 
===Syntax===
 
===Syntax===
Also 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), but spelling out AND is equivalent. Parentheses are a necessary feature because (blue OR red) AND green differs from blue OR (red AND green).
+
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.
 
+
  
'''Phrases in double quotes'''
+
The AND operator is assumed for all terms separated by spaces. Therefore, I 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.
  
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, "noun classes" where the space between "noun" and "class" counts as a character. This is different from <code>noun classes</code> where the space between "noun" and "classes" is interpreted as a logical 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'''
 
'''Exclusion'''
T
+
Terms can be excluded by prefixing a hyphen or dash (-), which, as mentioned above,  is "logical not".  
erms can be excluded by prefixing a hyphen or dash (-), which, as mentioned above,  is "logical not". Br
+
For example: <code> -"Brazilian Portuguese"</code> finds all articles with "Brazilian" and "Portuguese" '''except those with the phrase "Brazilian Portuguese".'''
For example: <code> -"Brazilian Portuguese"</code> finds all articles with "Brazilian" and "Portuguese" except those with the phrase "Brazilian Portuguese".
+
 
      
 
      
 
'''Wildcard search'''
 
'''Wildcard search'''
  
A wildcard character *, standing for any length of character-string can prefix or suffix a word or string. : the query *stan lists articles containing wprds like Kazakhstan and Afghanistan, while Anno* will list pages with words like: "annotation", "annotating" and "annotator".
+
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.

Revision as of 20:13, 12 October 2014

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 namespaces. The advanced option allows you to specify more precisely in which namespace you want the wiki to search. 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.


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

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, I 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.