Extension:PurgePage/en

The PurgePage extension provides the  parser function to MediaWiki. This parser function allows to trigger an update of the target page whenever the origin page on which this function is used is updated.

Usage
On page Foo add the following parser function call to the wikitext:

Now every time Foo is purged (e.g. every time it is edited and saved) Bar will also be updated.

This can be useful, when the content of Bar depends on Foo, e.g. when using a query on Bar that contains data from Foo in the results.

Installation
The recommended way to install this extension is by using Composer. Just add the following to the MediaWiki "composer.local.json" file and run  from the MediaWiki installation directory.

(Alternatively you can download a tar ball or zip file from GitHub, extract it into the  directory of your MediaWiki installation and rename the extension's directory to  .)

Then add the following line to your "LocalSettings.php" file: