Topic on Project:Support desk

[SMW] Embedded queries are not auto updated

3
92.89.123.253 (talkcontribs)

Hello,

I am facing an issue with Semantic Mediawiki embedded queries {{#ask:...}} on my wiki with Mediawiki 1.35.1 and Semantic Mediawiki 3.2.3.

Queries are working fine but their displayed result are not automatically updated even when their *actual* results change (i.e. the retrieved data change as a result of some modifications on queried pages). I can force the update by purging the query page, but I have multiples queries accross my wiki and this is not a long term solution.

I have disabled all caching mechanisms (wgMainCacheType, smwgMainCacheType, smwgQueryResultCacheType) and non-default extensions, without any visible improvement.

Yet if I execute the SQL I get from {{#ask:...|format=debug}}, everything is fine. I don't know how to go further :(

Any idea on how I could fix this?

Jonathan3 (talkcontribs)
Bawolff (talkcontribs)

probably $wgParserCacheType more so than $wgMainCacheType. Parser cache type probably defaults to CACHE_DB when main cache type is set to CACHE_NONE.

That said, better to use Johnathan's suggestion and do it on a per page basis.

Reply to "[SMW] Embedded queries are not auto updated"