You can search pages by combining words with &(and) and |(or). There must be a blank in front and rear of them, otherwise each conditional operator will be a part of the word to search for. You will get a better result only by choosing proper words and operators.
Keep in mind that blanks unadjacent immediately to a conditional operator will be target characters.
You can also exclude a given word by prepending ~ to the word.
Options: Search options like t, c, i, r, ~, R, M, P, -, and @ can be specified to limit the result of the given condition. ex) /ti, /it, /tir
t: Title: Search in title only
c: Content: Search in content only
i: IgnoreCase: Search case-insensitively
r: RegularExpression: Search by regular expressions
~: Range: Search by ASCII code range
R: RecentChanges: Sort the result by modified time
M: MostPopular: Sort the result by hits count
P: RecentPages: Sort the result by created time
-: Reverse: Reverse the result of the sorted result
@: Random: Make the result random
If R, M, P, -, and @ are specified more than once, the last one is used.
If both t and c are specified, given condition should be matched both in title and content.
It is possible to search for a slash(/) following words by using dummy option that is a slash which comes last in a condition statement. ex) /t/, /it/, and // search for /t, /it, and / respectively.
Examples
( this | that) & this place & three spaces just in front of this phrase
The first blank followed by 'this' is a part of the word, so the first word is ' this'; ' | ' and ' & ' are conditional operators. Therefore this condition is used to search for pages which contain ' this' or 'that', and ' this place ' and ' three spaces just in front of this phrase'.
Note that the four spaces in front of 'three spaces' are not all part of the condition because & should eat up two adjacent spaces to be an and conditional operator.
(wiKiX&CellVic & wikiZ) | PDA
Search for pages which contain 'wiKiX&CellVic' and 'wikiZ'; or 'PDA'.
wikiz/i
Search case-insensitively for pages which contain wikiz. ex) wikiz, wikiZ, wIkIz,...
~WikiWiki & wikiZ
Search for pages which have no 'WikiWiki' but have 'wikiZ'.
a ~b
In this case, ~ is not an exclude operator because it is not adjacent to & nor |, so the word is 'a ~b' itself.
~(a | b)
If you think that the above condition is equivalent to ~a & ~b, it's absolutely wrong; ~ operator can not be applicable in front of parentheses. It's not a valid condition, so no page might be searched for.
a/t~ or a ~ /t~
Search for page names which start with 'a' or above 'a' in ASCII value(>='a').
Note that ~ operator should also be surrounded by two spaces.
a ~ ca/t~
Search for page names which start with >='a' and <'ca'.
D ~ \x74/t~
Search for page names which start with >='D' and <0x74 hexadecimal ASCII code.
~ s/t~
Search for page names which start with <'s'.
Posted by HuidaeCho at 2003-07-18 17:10:37
. 3111 hits
. source
. info
. diff
. 0.221 sec