Topic on Project:Support desk

Slack notifications not working wiki version 1.33

7
141.161.133.32 (talkcontribs)

i'm a newbie to mediawiki i have installed it on GCP through bitnami, can someone tell me how to integrate slack to mediawiki to get notification, i've followed this Extension:SlackNotifications documentation to install extension, i can see the extension is installed but i was unable to get notification on slack channel. this is my configuration

require_once("$IP/extensions/SlackNotifications/SlackNotifications.php");

$wgSlackIncomingWebhookUrl = "Slack_hook_URL";

$wgSlackFromName = $wgSitename;

$wgWikiUrl = "WIKI_URL";

$wgWikiUrlEnding = "index.php?title=";

$wgSlackSendMethod = "curl";

$wgSlackRoomName = "#alerts";

$wgSlackIncludeNotificationsFrom = ["Spark"];

$wgSlackNotificationAddedArticle = true;

$wgSlackNotificationEditedArticle = true;

$wgSlackNotificationRemovedArticle = true;

MarkAHershberger (talkcontribs)
141.161.133.216 (talkcontribs)

thanks

141.161.133.216 (talkcontribs)
Kulttuuri (talkcontribs)

Hi!


You have set this parameter to be correct, right?

$wgSlackIncomingWebhookUrl = "Slack_hook_URL";

141.161.133.229 (talkcontribs)

yes, i've set that parameter

Kulttuuri (talkcontribs)

I'm not sure what is the issue here then. Could be that curl and / or file_get_contents are both banned in your server. Are you seeing anything in the server php log?

Reply to "Slack notifications not working wiki version 1.33"