Download the PHP package mediawiki/slack without Composer
On this page you can find all versions of the php package mediawiki/slack. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mediawiki/slack
More information about mediawiki/slack
Files in mediawiki/slack
Package slack
Short Description Slack Integration for MediaWiki.
License MIT
Homepage https://github.com/grundleborg/mediawiki-slack
Informations about the package slack
mediawiki-slack
Mediawiki Integration for Slack.
Features
- Sends notifications to a Slack channel whenever a page is added or edited on your MediaWiki installation.
Requirements
- MediaWiki >= 1.21
Set Up
- Log in to your Slack Team and click "Integrations".
- Select "Incoming WebHooks" as the type.
- Choose the default channel you want to use and click "Add Integration".
- Copy the Webhook URL shown on the left of the page. We'll need this in step 6.
- If you use composer to manage your MediaWiki extensions, just add to the require section. If you don't use composer, copy the contents of the repository into a folder called in your wiki's extensions folder.
-
Add the following lines to LocalSettings.php
- Edit a wiki page, and see the message pop up in Slack.
Optional Features
The optional features that you can enable and configure are listed below.
User Name Linking
This feature links the wiki user name to the equivalent Slack user in Slack messages. Enable it by adding the following line to LocalSettings.php:
Note that wiki usernames are converted to Lower Case before being passed to Slack. However, Slack's user name linking feature is case sensitive, so if your Slack user name contains capitals, it won't find you.
Minor edits
If you don't want to receive notifications about minor edits, add the following line to LocalSettings.php:
Improvements
Pull requests for new features are welcome. There's lots more I'd like to make this integration do, but I don't have the time, and it already covers my main requirement.