Re: [SMW-devel] Need hook for page property changes

2019-10-11 Thread Sebastian Trueg
Thanks. those are good sources for inspiration but do not do what I need by themselves. On 10.10.19 14:03, Krabina Bernhard wrote: > and you should look in to https://github.com/SemanticMediaWiki/SemanticTasks > which is maintained an can do that. > > cheers, > Bernhard > > PS: There is also a

Re: [SMW-devel] Need hook for page property changes

2019-10-11 Thread Sebastian Trueg
Thank you. That works perfectly. :) On 10.10.19 12:31, Jeroen De Dauw wrote: > Hey Sebastian, > > I suspect this hook is the most appropriate for your use case: > https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/6d3ce63cbeb3d2b881dfe6c255375c2b07e1b75d/src/Store.php#L240-L243 > >

Re: [SMW-devel] Need hook for page property changes

2019-10-10 Thread Krabina Bernhard
and you should look in to https://github.com/SemanticMediaWiki/SemanticTasks which is maintained an can do that. cheers, Bernhard PS: There is also a somewhat unmaintained extension that did somethink like that: https://www.mediawiki.org/wiki/Extension:Semantic_Watchlist - Am 10. Okt 2019

Re: [SMW-devel] Need hook for page property changes

2019-10-10 Thread Jeroen De Dauw
Hey Sebastian, I suspect this hook is the most appropriate for your use case: https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/6d3ce63cbeb3d2b881dfe6c255375c2b07e1b75d/src/Store.php#L240-L243 Cheers -- Jeroen De Dauw | www.EntropyWins.wtf |

[SMW-devel] Need hook for page property changes

2019-10-10 Thread Sebastian Trueg
Hello SMW experts, I am currently working on a simple extension that allows to send email notifications when a property of a page changes to a certain value. To that end I need to check the new property value after a page modification. Since SMW seems to use the Mediawiki hook