This extension fires a notification to the specified wgMediaWikiWebhookUrl every time a page is created, updated or deleted.
- MediaWiki\Revision\RevisionRecord - Available since 1.31
- MediaWiki\Permissions\Authority - Introduced in 1.36
- MediaWiki\Title\Title namespace - Moved in 1.34
- onPageDeleteComplete hook signature - Updated in 1.35
Minimum version: MediaWiki 1.36 Recommended version: MediaWiki LTS
-
Copy this folder to the
/extensions/folder. This should now look like/extensions/Intric/src/.... -
Load the extension and add your environment variables in the file LocalSettings.php (for example at the bottom of the file).
LocalSettings.php:wfLoadExtension( 'Intric' ); $wgMediaWikiWebhookUrl = 'http://localhost:8123/api/v1/webhook/notification/media_wiki/'; $wgMediaWikiWebhookAuthStr = 'media_wiki_auth_str';
For more information about extensions consult the MediaWiki documentation: https://www.mediawiki.org/wiki/Manual:Extensions/Installation_and_upgrade/en