Extension:HipchatNotifications
Cette extension n'est en ce moment pas activement maintenue ! Même si elle reste opérationnelle, les rapports de bogue ou les demandes de nouvelles fonctionnalités risquent de ne plus être pris en compte. |
![]() État de la version : non-maintenu |
|
---|---|
![]() |
|
Implémentation | Interface utilisateur, Notifier |
Description | Sends notifications of actions in MediaWiki like adding, removing or deleting an article into HipChat channel |
Auteur(s) | Aleksi Postari (kulttuuridiscussion) |
Dernière version | 1.06 (2016-06-05) |
MediaWiki | 1.8+ |
PHP | 5.2+ |
Modifie la base de données |
Non |
Licence | Licence MIT |
Téléchargement | Télécharger un instantané Note : |
|
|
The HipchatNotifications sends notifications of actions in MediaWiki like adding, removing or deleting an article into HipChat channel.
Installation
- Download et placez le(s) fichier(s) dans un répertoire appelé
HipchatNotifications
dans votre dossierextensions/
. - Ajoutez le code suivant à la fin de votre fichier
LocalSettings.php
:require_once "$IP/extensions/HipchatNotifications/HipchatNotifications.php"; // HipChat API token. Manage API keys for Hipchat API v2 here: https://hipchat.com/account/api $wgHipchatToken = ""; // HipChat room ID or name where you want all the notifications to go into. // You can directly use your room name or if that does not work, you can find your room ID from here: https://api.hipchat.com/v2/room?auth_token=YOUR_AUTH_TOKEN $wgHipchatRoomID = ; // Required. Name the message will appear be sent from. // Must be less than 15 characters long. May contain letters, numbers, -, _, and spaces. $wgHipchatFromName = "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 HipChat server. This setting only works with Hipchat API v1, in V2 we always use curl. // 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". $wgHipchatSendMethod = "curl";
- Fait – Accédez à Special:Version sur votre wiki pour vérifier que l'extension a bien été installée.
Paramètres de configuration
Please read the project README file for more configuration options.