From mediawiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:Discord and the translation is 77% complete.
Other languages:
English • ‎Türkçe • ‎dansk • ‎français • ‎中文 • ‎日本語
MediaWiki extensions manual
OOjs UI icon advanced.svg
Release status: stabil
Implementation User interface, Notify
Beskrivelse MediaWiki udvidelse der sender notifikationer til Discord.
Forfatter(e) Jayden Bailey (Jaydenkierandiskussion)
Latest version 1.0.12 (2020-06-12)
Compatibility policy master
MediaWiki 1.31+
Database changes Nej
Licens MIT License
Eksempel https://runescape.wiki
  • $wgDiscordWebhookURL
  • $wgDiscordNoBots
  • $wgDiscordNoMinor
  • $wgDiscordNoNull
  • $wgDiscordSuppressPreviews
  • $wgDiscordDisabledHooks
  • $wgDiscordDisabledNS
  • $wgDiscordUseEmojis
Check usage and version matrix.

Discord udvidelsen sender notifikationer til et Discord webhook (eller flere) fra MediaWiki. When a certain event occurs on your MediaWiki wiki, including new edits, they can be sent as a message to a channel on a Discord server using a webhook.

This extension requires cURL to be installed on your web server, which on Linux is probably as simple as running sudo apt install curl.

Live-eksempel: https://runescape.wiki (https://discord.gg/runescapewiki)


  • Download and place the file(s) in a directory called Discord in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'Discord' );
    // List webhook URLs to send notifications to (string or array containing strings)
    $wgDiscordWebhookURL = [ "" ];
  • Yes DoneNavigate to Special:Version on your wiki to verify that the extension is successfully installed.



Se også