Is it possible to trigger some kind of signal or configure a hook (e.g. execution of defined / hard coded shell script) after editing one specific page of a MediaWiki?
The scenario is as follows.
Up to now a RSS feed is generated from the content of one specific MediaWiki page (call it wiki/index.php?title=News
) each time the RSS feed is requested. As this page gets edited only once in a couple of days, having a Perl::CGI oder PHP script as the source of the RSS feed (e.g. URL for feed readers: example.com/rss-feed.php
) should be better - in terms of server load. This script generates a static RSS feed (e.g. at example.com/rss.xml
) only when the wiki page got edited.
Remark:
The wiki page I'm talking about is protected and only trusted users can edit it. I can not think about a security issue within the proposed workflow above. I'm happy getting otherwise convinced.