Extension:SemanticUpdateOnPurge

Description
SemanticUpdateOnPurge will update all semantic datas 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 attributes" 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 attributes.

Download instructions
You can take the code from /Source code. Create a new directory SemanticUpdateOnPurge in your MediaWiki's extension directory and put the code in a new file SemanticUpdateOnPurge.php there.

Installation
To install this extension, add the following to LocalSettings.php:

Change Log
the latest SemanticUpdateOnPurge extension has been tested on MediaWiki version 1.15. Probably it will run on earlier versions of MediaWiki as well.

 History: 


 * March 10, 2010 -- Version 0.2: Redesign of how the update happens. Doesn't use an update job any longer.
 * March 9, 2010 -- Version 0.1: First release of SemanticUpdateOnPurge.