Extension:Discord/de-formal

This page is a translated version of the page Extension:Discord and the translation is 15% complete.
MediaWiki extensions manual
OOjs UI icon advanced-invert.svg
Discord
Release status: stable
Mw-discord.png
Implementation User interface, Notify
Description MediaWiki extension that sends notifications to Discord.
Author(s) Jayden Bailey (JaydenkieranDiskussion)
Latest version 1.0.12 (2022-05-25)
Compatibility policy Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki 1.31+
Database changes No
License MIT License
Download
Example https://runescape.wiki
  • $wgDiscordNoBots
  • $wgDiscordDisabledHooks
  • $wgDiscordSuppressPreviews
  • $wgDiscordNoMinor
  • $wgDiscordDisabledNS
  • $wgDiscordEmojis
  • $wgDiscordNoNull
  • $wgDiscordUseFileGetContents
  • $wgDiscordWebhookURL
  • $wgDiscordUseEmojis
  • $wgDiscordDisabledUsers
  • $wgDiscordPrependTimestamp
  • $wgDiscordMaxCharsUsernames

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 cURL to be installed on your web server, which on Linux is probably as simple as running sudo apt install curl -y.

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

Installation

  • Die Download und die Datei(en) in ein Verzeichnis namens Discord im Ordner extensions/ ablegen.
  • Folgenden Code am Ende Ihrer LocalSettings.php 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