Hello,
I need to retrieve the updated semantic mediawiki printouts (properties) on page
save, through our extension.
In order to do this, I have found 2 ways, the first, through the api, specifically
askargs, the second, using this extension
however in both cases the printouts retrieved are not the last updated
version, so it should be a cache issue. (or in any case a bug because a data consumer
would expect to fetch the latest saved data)
I have found that semantic mediawiki has a built-in function
ArticlePurge
to empty result and/or entity cache (I'm not sure about the difference
between the two)
but it uses an event dispatcher and this is not suitable to us.
So I would like to know how I can simply retrieve the latest properties
in a programmatic way, if possible fetching them directly using
the semantic mediawiki store, like through the function
getProperties
or otherwise emptying the cache from our extension.
Thanks
(Thomas)
_______________________________________________ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel