Extension:DiscordNotifications

Category:Extensions without a compatibility policyCategory:GPL licensed extensions
MediaWiki extensions manual
Discord Notifications
Release status: stableCategory:Stable extensions
Implementation User interfaceCategory:User interface extensions, NotifyCategory:Notification extensions
Description Sends notifications of actions in MediaWiki like adding, removing or deleting an article into Discord channel
Author(s) Aleksi Postari (kulttuuritalk)
Maintainer(s) Universal Omegatalk
Latest version 3.0.0 (2025-06-11)
MediaWiki 1.43+Category:Extensions with manual MediaWiki version
PHP 8.1+
Database changes No
License GNU General Public License 3.0 or later
Download Category:Extensions in GitHub version control
  • $wgDiscordIncomingWebhookUrl
  • $wgDiscordFromName
  • $wgDiscordSendMethod
  • $wgDiscordNotificationWikiUrl
  • $wgDiscordNotificationWikiUrlEnding
Translate the DiscordNotifications extension
Category:All extensions

Integrate Discord with MediaWiki. The DiscordNotifications extension sends notifications of actions in MediaWiki like adding, removing or deleting an article into designated Discord channel(s).

Installation

  • Download and place the file(s) in a directory called DiscordNotifications in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'DiscordNotifications' );
    // Required. Your Discord incoming webhook URL. Read more from here: https://support.discordapp.com/hc/en-us/articles/228383668
    $wgDiscordIncomingWebhookUrl = "";
    // Required. Name the message will appear be sent from.
    $wgDiscordFromName = "Wiki";
    // URL into your MediaWiki installation with the trailing /.
    $wgDiscordNotificationWikiUrl = "http://your_wiki_url/";
    // Wiki script name. Leave this to default one if you do not have URL rewriting enabled.
    $wgDiscordNotificationWikiUrlEnding = "index.php?title=";
    // What method will be used to send the data to Discord server. By default this is "curl" which only works if you have the curl extension enabled. This can be: "curl" or "file_get_contents". Default: "curl"
    $wgDiscordSendMethod = "curl";
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration parameters

Please read the project README file for more configuration options.

See also

Category:Discord extensions
Category:APIFlowAfterExecute extensions Category:AfterImportPage extensions Category:All extensions Category:ArticleProtectComplete extensions Category:BlockIpComplete extensions Category:Discord extensions Category:Extensions in GitHub version control Category:Extensions included in Miraheze Category:Extensions included in WikiForge Category:Extensions with manual MediaWiki version Category:Extensions without a compatibility policy Category:GPL licensed extensions Category:LocalUserCreated extensions Category:ModerationPending extensions Category:Notification extensions Category:PageDeleteComplete extensions Category:PageMoveComplete extensions Category:PageSaveComplete extensions Category:PageUndeleteComplete extensions Category:Stable extensions Category:UploadComplete extensions Category:UserGroupsChanged extensions Category:User interface extensions