ece85b424b6d6a832324153bdc940489bdf9d43f
Discord (mw-discord)
MediaWiki extension for sending notifications to a Discord webhook from MediaWiki.
Requirements
- Discord webhook URL: This can be obtained by editing a channel on a server with the correct permissions.
- MediaWiki 1.31+
Configuration
$wgDiscordWebhookURL- A string or array containing webhook URLs
Optional
$wgDiscordNoBots- Do not send notifications that are triggered by a bot account - default:true$wgDiscordNoMinor- Do not send notifications that are for minor edits - default:false$wgDiscordNoNull- Do not send notifications for null edits - default:true
Hooks used
PageContentSaveComplete- New edits to pages and page creationsArticleDeleteComplete- Page deletionsArticleUndelete- Page restorationsArticleRevisionVisibilitySet- Revision visibility changesArticleProtectComplete- Page protectionsTitleMoveComplete- Page moves
Languages
PHP
100%