Category
From semantic-mediawiki.org
A category is a special entity type provided by MediaWiki to aid the classification of subjects (pages, subobjects) and it can be used to form hierarchical dependencies between categories. A redirected category to a non-category namespace will cause an assignment error12.
Querying Categories[edit]
"Category" is handled like a special property and can be queried.
Example[edit]
{{#ask: [[Category:Glossary]] | mainlabel=page | ?Category |limit=5 }}
page | Category |
---|---|
Annotation | Glossary Document |
Ask | Glossary |
Associated revision | Glossary Document |
Calendar | Glossary |
Category | Glossary |
... further results |
See also[edit]
References
- ^ Semantic MediaWiki: User mailing list thread "Query doesn't show all rows"
- ^ Semantic MediaWiki: GitHub pull request gh:smw:2471