2017 © Pedro Peláez
 

mediawiki-extension purge-page

Provides the #purge parser function

image

mediawiki/purge-page

Provides the #purge parser function

  • Thursday, September 22, 2016
  • by s7eph4n
  • Repository
  • 1 Watchers
  • 1 Stars
  • 18 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 2 Versions
  • 6 % Grown

The README.md

PurgePage

Latest Stable Version Packagist download count Scrutinizer Code Quality, (*1)

The PurgePage extension provides the #purge parser function to MediaWiki. This parser function allows to trigger an update to a parser functions whenever the page where this function is used is updated., (*2)

Example usage

On page Foo add the following parser function call to the wikitext:, (*3)

{{#purge:Bar}}

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

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

Requirements

  • PHP 5.4 or later
  • MediaWiki 1.26 or later

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 php composer.phar update mediawiki/purge-page from the MediaWiki installation directory., (*6)

{
    "require": {
        "mediawiki/purge-page": "~1.0"
    }
}

(Alternatively you can download a tar ball or zip file from GitHub and extract it into the extensions directory of your MediaWiki installation.), (*7)

Then add the following line to your LocalSettings.php:, (*8)

wfLoadExtension('PurgePage');

License

GNU General Public License 2.0 or later., (*9)

The Versions

22/09 2016

dev-master

9999999-dev https://www.mediawiki.org/wiki/Extension:PurgePage

Provides the #purge parser function

  Sources   Download

GPL-2.0+

The Requires

 

extension mediawiki wiki

07/07 2016

1.0.0

1.0.0.0 https://www.mediawiki.org/wiki/Extension:PurgePage

Provides the #purge parser function

  Sources   Download

GPL-2.0+

The Requires

 

extension mediawiki wiki