Extension:Discord/de-formal
The Discord extension sends notifications to a Discord webhook (or several) from 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 the PHP cURL extension to be installed on your web server, which on Linux is probably as simple as running sudo apt install php-curl -y
.
Live demo: https://runescape.wiki (https://discord.gg/runescapewiki)
Installation
- Die Download und die Datei(en) in ein Verzeichnis namens
Discord
im Ordnerextensions/
ablegen. - Folgenden Code am Ende Ihrer LocalSettings.php -Datei hinzufügen:
wfLoadExtension( 'Discord' ); // List webhook URLs to send notifications to (string or array containing strings) $wgDiscordWebhookURL = [ "" ];
- Done – Zu Special:Version in dem Wiki (bei Einstellung auf deutsch nach Spezial:Version) navigieren, um die erfolgreiche Installierung der Erweiterung zu überprüfen.
Configuration parameters
See README
Siehe auch
- Extension:DiscordNotifications - an alternate Discord webhook extension
- Extension:DiscordRCFeed
This extension is included in the following wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |