|Description||Defines which query features should be available by default.|
|Deprecated with||still available|
|Configuration||Query settings · Inline queries|
|Keyword||Inline queries · Special Ask · Queries · Query features · Query performance|
$smwgQFeatures is a configuration parameter that is used to define which query features should be available by default to inline queries and special page "Ask". The parameter was introduced in Semantic MediaWiki 1.2.0.
The default setting allows all basic features.
Changing the default setting
The available features are combined in a list, separated by a pipe "|". Examples:
- allow only category intersections
- allow only concept queries (possibly cached)
- allow anything but disjunctions
Available setting constants
SMW_PROPERTY_QUERYfor conditions of the form [[Property::...]],
SMW_CATEGORY_QUERYfor conditions of the form [[Category:...]],
SMW_CONCEPT_QUERYfor conditions of the form [[Concept:...]],
SMW_NAMESPACE_QUERYfor conditions of the form [[Namespace:+]],
SMW_CONJUNCTION_QUERYfor combinations of multiple conditions in one query,
SMW_DISJUNCTION_QUERYfor queries using OR or ||.
Help:$smwgQFeatures en 1.2.0