Open main menu

Extension:DiscordNotifications/fr

This page is a translated version of the page Extension:DiscordNotifications and the translation is 5% complete.
Other languages:
English • ‎français • ‎中文 • ‎日本語
Manuel des extensions MediaWiki
OOjs UI icon advanced.svg
Discord Notifications
État de la version : stable
Discord mediawiki.jpg
Implémentation Interface utilisateur:, Notifier
Description Sends notifications of actions in MediaWiki like adding, removing or deleting an article into Discord channel
Auteur(s) Aleksi Postari (kulttuuritalk)
Dernière version 1.1.1 (2019-10-18)
MediaWiki 1.25+
PHP 5.2+
Modifie la base de données Non
Licence Licence MIT
Téléchargement

  • $wgDiscordIncomingWebhookUrl
  • $wgDiscordFromName
  • $wgDiscordSendMethod
  • $wgWikiUrl
  • $wgWikiUrlEnding
Traduisez l’extension DiscordNotifications sur translatewiki.net
Vérifiez la matrice des utilisations et des versions.

Integrate Discord with MediaWiki. The DiscordNotifications sends notifications of actions in MediaWiki like adding, removing or deleting an article into Discord channel.

Installation

  • Download et placez le(s) fichiers (s) dans un répertoire appelé DiscordNotifications dans votre dossier extensions/.
  • Ajoutez le code suivant à la fin de votre fichier LocalSettings.php :
    wfLoadExtension( 'DiscordNotifications' );
    // Required. Your Discord incoming webhook URL. Read more from here: https://support.discordapp.com/hc/en-us/articles/228383668
    $wgDiscordIncomingWebhookUrl = "";
    // Required. Name the message will appear be sent from.
    $wgDiscordFromName = "Wiki";
    // URL into your MediaWiki installation with the trailing /.
    $wgWikiUrl		= "http://your_wiki_url/";
    // Wiki script name. Leave this to default one if you do not have URL rewriting enabled.
    $wgWikiUrlEnding = "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". Default: "curl"
    $wgDiscordSendMethod = "curl";
    
  •   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.