Extensión:SlackNotifications
Appearance
From mediawiki.org
This page is a translated version of the page Extension:SlackNotifications and the translation is 22% complete.
Estado de la versión: estable |
|
|---|---|
| Implementación | Interfaz de usuario, Notificar |
| Descripción | Sends notifications of actions in MediaWiki like adding, removing or deleting an article into Slack channel |
| Autor(es) | Aleksi Postari (kulttuuri discusión ) |
| Última versión | 1.15 (2020年05月14日) |
| MediaWiki | 1.25+ |
| PHP | 5.2+ |
| Cambios en la base de datos | No |
|
|
| Licencia | Licencia MIT |
| Descargar | Descargar snapshot GitHub: Nota: |
The SlackNotifications sends notifications of actions in MediaWiki like adding, removing or deleting an article into Slack channel.
Instalación
- Descarga y extrae los archivos en el directorio «
SlackNotifications» dentro del directorioextensions/existente. - Añade el siguiente código en la parte final de tu archivo 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";
- Yes Hecho – Navega a
Special:Versionen el wiki para verificar que la extensión se haya instalado correctamente.
Parámetros de configuración
Please read the project README file for more configuration options.
Esta extensión está incluida en los siguientes anfitriones/granjas wiki y/o paquetes: