Extension:SlackNotifications/pl
Appearance
Status wydania: stabilne |
|
|---|---|
| Realizacja | Interfejs użytkownika, Powiadomienia |
| Opis | Sends notifications of actions in MediaWiki like adding, removing or deleting an article into Slack channel |
| Autor(zy) | Aleksi Postari (kulttuuridyskusja) |
| Ostatnia wersja | 1.15 (2020-05-14) |
| MediaWiki | 1.25+ |
| PHP | 5.2+ |
| Zmiany w bazie danych | Nie |
|
|
|
| Licencja | Licencja MIT |
| Pobieranie | Pobierz snapshot GitHub: Uwaga: |
The SlackNotifications sends notifications of actions in MediaWiki like adding, removing or deleting an article into Slack channel.
Instalacja
- Download i umieść plik(i) w katalogu o nazwie
SlackNotificationsw swoim kataloguextensions/. - Dodaj poniższy kod na dole twojego pliku LocalSettings.php:
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";
Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.
Configuration parameters
Please read the project README file for more configuration options.
| To rozszerzenie jest dołączone do następujących farm/hostów wiki lub pakietów: |
