Namespace restrictions

From semantic-mediawiki.org

By default results are selected from all namespaces matching the query condition. It is however also possible to only return pages located in a particular namespace. This is done by specifying the label of the namespace together with a wildcard, e.g. write [[Help:+]] to return every page in the "Help" namespace. Since the main namespace has no prefix, just write [[:+]] to select only pages in it, i.e. without specifying a label. To return pages in the "Category" namespace, a colon : needs to be added in front of the namespace label, e.g. [[:Category:+]].

Disjunctions also work using the || operator. For example, to return pages in either the main or "User" namespace, write [[:+||User:+]].

Note that the namespace must be enabled for holding semantic annotations to be considered for page selection.

See also[edit]