Extension:Semantic Incoming Properties
|
Semantic Incoming Properties Release status: beta |
|||
|---|---|---|---|
| Implementation | Parser function | ||
| Description | Returns a list of incoming properties which semantically is link to a specified page. | ||
| Author(s) | Hertzog, MWJames | ||
| Last version | 0.2 (Jan 2012) | ||
| MediaWiki | 1.17+ / SMW 1.6+ | ||
| PHP | 5 | ||
| License | GPL | ||
| Download | github README changelog |
||
|
|||
| Check usage and version matrix; Incoming Properties stats | |||
| This extension is no longer under active development, instead the same functionality is provided with SRF result printer "incoming" (see also 37446) |
Semantic Incoming Properties provides a parser function, #iask, which displays a list of incoming semantic properties (defined via the Semantic MediaWiki extension) to a specific page. Incoming semantic properties are simply properties on other pages which point to the specific page.
For example, the page "Clint Eastwood" may be linked to on some pages with the semantic property "Has actor", and on other pages with the property "Has director". In this case, if #iask were passed in the value "Clint Eastwood", it would display the string "Has actor,Has director".
Usage[edit]
{{#iask:pagename|threshold|delimiter}}
- pagename: the full page name, including the namespace if any.
- threshold: only if the number of pages which link to pagename using a specific property is higher than or equal to the threshold, the property is displayed in the result (default=1).
- delimiter: delimiter to be used to separate between the semantic properties in the result (default=,).
Download instructions[edit]
Please download the code (github) and place it in $IP/extensions/SemanticIncomingProperties/.
Installation[edit]
To install this extension, add the following to LocalSettings.php:
require_once("$IP/extensions/SemanticIncomingProperties/SemanticIncomingProperties.php");