Extension:SlackNotifications/oc

Category:Extensions incompatible with 1.39/oc Category:Unmaintained extensions/oc#SlackNotifications/oc Category:MIT licensed extensions/oc
MediaWiki extensions manual
Slack Notifications
Release status: unmaintainedCategory:Unmaintained extensions/oc
Implementation User interfaceCategory:User interface extensions/oc, NotifyCategory:Notification extensions/oc
Description Sends notifications of actions in MediaWiki like adding, removing or deleting an article into Slack channel
Author(s) Aleksi Postari (kulttuuridiscussion)
Latest version 1.15 (2020-05-14)
MediaWiki 1.25+Category:Extensions with manual MediaWiki version
PHP 5.2+
Database changes No
License MIT License
Download Category:Extensions in GitHub version control/oc
  • $wgSlackIncomingWebhookUrl
  • $wgSlackFromName
  • $wgSlackSendMethod
  • $wgSlackNotificationWikiUrl
  • $wgSlackNotificationWikiUrlEnding
Category:All extensions/ocCategory:Extensions not in ExtensionJson

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

Installacion

  • Telecargar and place the file(s) in a directory called SlackNotifications in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'SlackNotifications' );
    // Required. Your Slack incoming webhook URL. Read more from here: https://api.slack.com/incoming-webhooks
    $wgSlackIncomingWebhookUrl = "";
    // Required. 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 Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Paramètres de configuracion

Please read the project README file for more configuration options.

Category:All extensions/oc Category:Extensions in GitHub version control/oc Category:Extensions included in MyWikis/oc Category:Extensions incompatible with 1.39/oc Category:Extensions not in ExtensionJson Category:Extensions with manual MediaWiki version Category:MIT licensed extensions/oc Category:Notification extensions/oc Category:PageSaveComplete extensions/oc Category:Unmaintained extensions/oc Category:User interface extensions/oc