||This extension is currently not actively maintained! Meaning any reports for additional features and/or bugfixes will more than likely be ignored. Volunteers are encouraged to take on the task of developing and maintaining it. As a courtesy, you may want to contact the author. You should also remove this template and list yourself as maintaining the extension in the page's
Release status: stable
|Description||Updates Semantic MediaWikis properties on purging a page|
|Author(s)||Daniel Werner (Danwetalk)|
|Latest version||0.5.0 (2014-04-02)|
|MediaWiki||MW 1.17 and SMW 1.6.2|
Translate the SemanticUpdateOnPurge extension if it is available at translatewiki.net
|Check usage and version matrix; code metrics|
The SemanticUpdateOnPurge extension updates all semantic data created with Semantic MediaWiki when purging a page. This extension is motivated by bug 22751 which actually isn't considered a real bug. Anyway, with this extension "dynamic properties" are more comfortable and efficient to use if you have to use them. However, as you can see in the bug report, it is not recommended or supported by the SMW developers to use inline query results in properties.
Another scenario where this extension can be useful is if you use the External Data extension. If your external data sources change their values you can simply update the semantics on the MW article by pressing purge.
Installation[edit | edit source]
- Download and extract the tarball in your
extensions/folder. It should generate a new folder called
SemanticUpdateOnPurgedirectly inside your
- Add the following code at the bottom of your LocalSettings.php:
- Done! Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.
Compatibility[edit | edit source]
The extension works with Semantic-MediaWiki 1.6.x (and probably 1.6). It does not work with MediaWiki 1.18 currently. There were reports that the functionality was broken somewhere around the 1.5.x branch of SMW, though, it has been reported working with some older SMW versions than 1.6 as well (current version should at least work with some old SMW versions).