Erweiterung:DiscordNotifications

From mediawiki.org
This page is a translated version of the page Extension:DiscordNotifications and the translation is 57% complete.
MediaWiki-Erweiterungen
Discord Notifications
Freigabestatus: stabil
Einbindung Benutzer-Schnittstelle, Benachrichtigung
Beschreibung Sends notifications of actions in MediaWiki like adding, removing or deleting an article into Discord channel
Autor(en) Aleksi Postari (kulttuuriDiskussion)
Betreuer Universal OmegaDiskussion
Letzte Version 1.1.3 (2020-05-14)
MediaWiki 1.25+
PHP 5.2+
Datenbankänderungen Nein
Lizenz MIT-Lizenz
Herunterladen

  • $wgDiscordIncomingWebhookUrl
  • $wgDiscordFromName
  • $wgDiscordSendMethod
  • $wgDiscordNotificationWikiUrl
  • $wgDiscordNotificationWikiUrlEnding
Übersetze die DiscordNotifications-Erweiterung

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

Installation

  • Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens DiscordNotifications im Ordner extensions/ ablegen.
  • Folgenden Code am Ende deiner LocalSettings.php -Datei einfügen:
    wfLoadExtension( 'DiscordNotifications' );
    // Notwendig. Your Discord incoming webhook URL. Lese mehr von hier: https://support.discordapp.com/hc/en-us/articles/228383668
    $wgDiscordIncomingWebhookUrl = "";
    // Notwendig. Name the message will appear be sent from.
    $wgDiscordFromName = "Wiki";
    // URL into your MediaWiki installation with the trailing /.
    $wgDiscordNotificationWikiUrl = "http://your_wiki_url/";
    // Wikiskriptname. 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". Standard: "curl"
    $wgDiscordSendMethod = "curl";
    
  • Yes Erledigt – Zu Special:Version in dem Wiki (bei Einstellung auf deutsch nach Spezial:Version) navigieren, um die erfolgreiche Installierung der Erweiterung zu überprüfen.

Konfigurationsparameter

Lies bitte die README-Datei des Projektes für weitere Konfigurationseinstellungen.

Siehe auch