Difference between revisions of "Help:Searching in the TypeCraft Wiki"
(→Syntax) |
|||
Line 1: | Line 1: | ||
{{TcCopyEdit}} | {{TcCopyEdit}} | ||
− | The TypeCraft wiki has, like any | + | 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 | + | 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" | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===Syntax=== | ===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: <code> "Brazilian Portuguese"</code>. If you use <code> Brazilian Portuguese</code> 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''' | '''Exclusion''' | ||
− | + | Terms can be excluded by prefixing a hyphen or dash (-), which, as mentioned above, is "logical not". | |
− | + | 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 | + | 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
This page is currently under development.Thank you for your patience. |
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.