Hi,
 
I'm working on an Mediawiki extension that uses the SMWData::addProperty
function to store semantic data inside a parser hook function, which is
working perfectly when saving a page. But when I use the ApprovedRevs
extension to approve the revision of an article, my semantic data isn't
stored, even though the call to addProperty is executed and a valid
DataValue object is returned.
 
For debugging reasons I added regular semantic markup, so that my page
looks like the following:
[[Property1::Value1]]
{{#set:Property2=Value2}}
<mystuff>Some text</mystuff>
The first two property values are stored when I approve a revision of
this article and my parserhook is called, only that the properties that
I create via addProperty() don't appear in the factbox and in queries :(
 
Do I need to call any other functions besides addProperty? I tried
SMWOuputs::commitToParser, but that didn't help..
 
Regards,
Stefan
 
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to