Extensión:SlackNotifications

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:SlackNotifications and the translation is 22% complete.

Other languages:
English • ‎español • ‎occitan • ‎sicilianu • ‎русский • ‎日本語
MediaWiki extensions manual
OOjs UI icon advanced.svg
Slack Notifications
Release status: estable
Slack mediawiki.jpg
Implementación User interface, Notify
Descripción Sends notifications of actions in MediaWiki like adding, removing or deleting an article into Slack channel
Autor(es) Aleksi Postari (kulttuuritalk)
Última versión 1.14 (2019-07-03)
MediaWiki 1.25+
PHP 5.2+
Cambios de la base de datos No
Licencia MIT License
Descarga

  • $wgSlackIncomingWebhookUrl
  • $wgSlackFromName
  • $wgSlackSendMethod
  • $wgWikiUrl
  • $wgWikiUrlEnding
Translate the SlackNotifications extension if it is available at translatewiki.net
Verificar uso y versión de la matriz.

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 directorio extensions/ existente.
  • Añade el siguiente código a tu LocalSettings.php (preferiblemente al final):
    require_once "$IP/extensions/SlackNotifications/SlackNotifications.php";
    // 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 /.
    $wgWikiUrl		= "http://your_wiki_url/";
    // Wiki script name. Leave this to default one if you do not have URL rewriting enabled.
    $wgWikiUrlEnding = "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 Listo – Navega a Special:Version en tu wiki para verificar que la apariencia se haya instalado correctamente.

Parámetros de configuración

Please read the project README file for more configuration options.