Rozszerzenie:HipchatNotifications

This page is a translated version of the page Extension:HipchatNotifications and the translation is 57% complete.
Podręcznik rozszerzeń MediaWiki
Hipchat Notifications
Status wydania: niewspierane
Realizacja Interfejs użytkownika, Powiadomienia
Opis Sends notifications of actions in MediaWiki like adding, removing or deleting an article into HipChat channel
Autor(zy) Aleksi Postari (kulttuuridyskusja)
Ostatnia wersja 1.06 (2016-06-05)
MediaWiki 1.8+
PHP 5.2+
Zmiany w bazie danych Nie
Licencja Licencja MIT
Pobieranie

  • $wgHipchatToken
  • $wgHipchatRoomID
  • $wgHipchatFromName
  • $wgWikiUrl
  • $wgWikiUrlEnding

The HipchatNotifications sends notifications of actions in MediaWiki like adding, removing or deleting an article into HipChat channel.

Instalacja

  • Pobierz i umieść plik(i) w katalogu o nazwie HipchatNotifications w swoim katalogu extensions/.
  • Dodaj poniższy kod na dole twojego pliku 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";
    
  •   Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

Parametry konfiguracyjne

Please read the project README file for more configuration options.