Erweiterung:SlackNotifications

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

  • $wgSlackIncomingWebhookUrl
  • $wgSlackFromName
  • $wgSlackSendMethod
  • $wgSlackNotificationWikiUrl
  • $wgSlackNotificationWikiUrlEnding

The SlackNotifications sends notifications of actions in MediaWiki like adding, removing or deleting an article into Slack channel.

Installation

  • Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens SlackNotifications im Ordner extensions/ ablegen.
  • Folgenden Code am Ende deiner LocalSettings.php -Datei einfügen:
    wfLoadExtension( 'SlackNotifications' );
    // Notwendig. Your Slack incoming webhook URL. Lese mehr von hier: https://api.slack.com/incoming-webhooks
    $wgSlackIncomingWebhookUrl = "";
    // Notwendig. Name the message will appear be sent from.
    $wgSlackFromName = "Wiki";
    // URL into your MediaWiki installation with the trailing /.
    $wgSlackNotificationWikiUrl		= "http://your_wiki_url/";
    // Wikiskriptname. Leave this to default one if you do not have URL rewriting enabled.
    $wgSlackNotificationWikiUrlEnding = "index.php?title=";
    // What method will be used to send the data to Slack 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".
    $wgSlackSendMethod = "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.