Extension:SlackNotifications/fr

From mediawiki.org
This page is a translated version of the page Extension:SlackNotifications and the translation is 22% complete.
Manuel des extensions MediaWiki
Slack Notifications
État de la version : non-maintenu
Implémentation Interface utilisateur, Notifier
Description Sends notifications of actions in MediaWiki like adding, removing or deleting an article into Slack channel
Auteur(s) Aleksi Postari (kulttuuridiscussion)
Dernière version 1.15 (2020-05-14)
MediaWiki 1.25+
PHP 5.2+
Modifie la base
de données
Non
Licence Licence MIT
Téléchargement

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

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

Installation

  • Téléchargement et placez le(s) fichier(s) dans un répertoire appelé SlackNotifications dans votre dossier extensions/.
  • Ajoutez le code suivant à la fin de votre fichier LocalSettings.php  :
    wfLoadExtension( 'SlackNotifications' );
    // Nécessaire. Your Slack incoming webhook URL. Read more from here: https://api.slack.com/incoming-webhooks
    $wgSlackIncomingWebhookUrl = "";
    // Nécessaire. Name the message will appear be sent from.
    $wgSlackFromName = "Wiki";
    // URL into your MediaWiki installation with the trailing /.
    $wgSlackNotificationWikiUrl		= "http://your_wiki_url/";
    // Wiki script name. 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 Fait – Accédez à Special:Version sur votre wiki pour vérifier que l'extension a bien été installée.

Configuration parameters

Please read the project README file for more configuration options.