Help:Extension:WikibaseCirrusSearch

WikibaseCirrusSearch is an on top of , which enables some capabilities that are relevant for Wikibase.

Below are described keywords and capabilities unique to this extension. Please see for the rest of the syntax

inlabel/incaption
Allows the user to search for pages that have wikibase labels, optionally in user specified languages. Example: looks for items that have the word "duck" in their English labels. More than one language can be specified, separated by commas:. If you append * to the language name, fallbacks to this language will also be searched. If you append +, then 'en' (English) will be excluded from fallbacks: searches for word "gift" in language "de-at" and its fallback chain, not including English. Language of " " searches all labels using language-insensitive match (labels_all field) - it can only be specified on its own, not in combination with other languages. Not specifying the language - or  - will also search all labels.

If you need to search string with spaces, use quotes:.

is the alias for and they work identically.

wbstatementquantity
Allows the user to search for pages/items that have wikibase statements associated with them, and specify quantities of those statements. If an item has the statement with the qualifier  (meaning "depicts human, quantity 5" in Wikidata), then it can be found using any of the following search queries: wbstatementquantity:P180=Q5<6 wbstatementquantity:P180=Q5<=5 wbstatementquantity:P180=Q5>=5 wbstatementquantity:P180=Q5>4 wbstatementquantity:P180=Q5=5

Statements can be combined using logical OR by separating them using a pipe, e.g..

Statements can be combined using logical AND by using two separate queries, e.g.  (a range search) or

Note that not all statements are indexed. Searching for a statement about a property that has not been indexed will give an empty result.

hasdescription
Returns Wikibase items which have a description populated in the specified language. For example, to search for items with a description in Japanese, use.

Supports providing multiple language codes to support a search for items with a description in language X OR Y. For example,  will return items with a description in Italian OR Hungarian.

It can also be used multiple times to impose multiple requirements on returned results. For example, will return items with descriptions in English AND German, and  will return items with a description in Spanish and without a description in French.

haslabel/hascaption
Same as, but for labels (also known informally as captions). is provided as an alias, as with above.