Extension:SlackNotifications
From Linux Web Expert
This extension is incompatible with MediaWiki 1.39 or any later release! You are advised against using this extension on a live site. Volunteer developers are invited to pledge their efforts to updating this extension to make it compatible with MediaWiki 1.41 by replacing the {{Incompatible }} template with {{Incompatible |version=1.39|pledge=~~~~}} . |
<translate> This extension is currently not actively maintained!</translate> <translate> Although it may still work, any bug reports or feature requests will more than likely be ignored.</translate> |
Slack Notifications Release status: unmaintained |
|
---|---|
File:Slack mediawiki.jpg | |
Implementation | User interface, Notify |
Description | Sends notifications of actions in MediaWiki like adding, removing or deleting an article into Slack channel |
Author(s) | Aleksi Postari (kulttuuritalk) |
Latest version | 1.15 (2020-05-14) |
MediaWiki | 1.25+ |
PHP | 5.2+ |
Database changes | No |
License | MIT License |
Download | <translate> Download snapshot</translate>
<translate> Note:</translate> |
|
|
Quarterly downloads | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Public wikis using | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
The SlackNotifications sends notifications of actions in MediaWiki like adding, removing or deleting an article into Slack channel.
Installation
- <translate> <tvar name=1>Download</tvar> and place the file(s) in a directory called <tvar name=name>
SlackNotifications
</tvar> in your <tvar name=ext>extensions/
</tvar> folder.</translate> - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
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";
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
Configuration parameters
Please read the project README file for more configuration options.
File:OOjs UI icon information-progressive.svg | <translate> This extension is included in the following wiki farms/hosts and/or packages:</translate>
<translate> This is not an authoritative list.</translate> <translate> Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here.</translate> <translate> Always check with your wiki farms/hosts or bundle to confirm.</translate> |
Categories:
- Pages with script errors
- Pages with broken file links
- Extensions incompatible with 1.39
- Unmaintained extensions
- User interface extensions
- Notification extensions
- Extensions without a compatibility policy
- Extensions with manual MediaWiki version
- MIT licensed extensions
- Extensions in GitHub version control
- PageSaveComplete extensions
- All extensions
- Extensions not in ExtensionJson