Extension:Semantic Sifter

MediaWiki extensions manual
OOjs UI icon advanced.svg
Semantic Sifter
Release status: beta
Implementation Parser function
Description Allows to easily query a category and filter results by its properties
Author(s) Kim Eik (netbraintalk)
Latest version 0.2.0 (2017-08-03)
MediaWiki 1.23+
PHP 5.3+
Database changes No
Composer mediawiki/semantic-sifter
License GNU General Public License 3.0
Download use composer

Check usage and version matrix.

The Semantic Sifter extension queries a set of pages and displays the result in a filterable view.


Install using Composer (mediawiki/semantic-sifter)


filterwidth  - set's the filter input boxes width. default 20%
display      - controls what output components to show, both (default), filter or result.

Property specific parametersEdit

values      - a comma separated list of values to show in the filter input as autocomplete suggestions.

#sift usageEdit

The sift parser function very similar to the SMW #ask parser function.

{{#sift: <query> 
| <parameters> 
| !<filterable smw property>[=display name][;values=value1,value2,...] 
| ?<smw property>[=display name][;values=value1,value2,...] 


{{#sift: [[Category:Cars]]

#siftlink usageEdit

The siftlink makes it possible to make links to pages containing a #sift parser function and set's filtering values.

 |<link text>


 |This link will add a Value constraint on Property and Value2 constraint on Property2

Known bugsEdit

  • Property names are case sensitive, if the property name is cased incorrectly, the filtering component will not function properly.

See alsoEdit