Extension:HipchatNotifications/zh
![]() | 此扩展目前不再活跃维护! 尽管它可能仍然工作,但任何错误报告或功能请求将很可能被忽略。 |
![]() 发行状态: 不再維護 |
|
---|---|
![]() |
|
实现 | 用户界面, 通知 |
描述 | Sends notifications of actions in MediaWiki like adding, removing or deleting an article into HipChat channel |
作者 | Aleksi Postari (kulttuuri讨论) |
最新版本 | 1.06 (2016-06-05) |
MediaWiki | 1.8+ |
PHP | 5.2+ |
数据库更改 | 否 |
许可协议 | MIT授權條款 |
下載 | |
|
|
The HipchatNotifications sends notifications of actions in MediaWiki like adding, removing or deleting an article into HipChat channel.
安裝
- 下载文件,并将其放置在您
extensions/
文件夹中的HipchatNotifications
目录内。 - 将下列代码放置在您的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";
完成 – 在您的wiki上导航至Special:Version,以验证已成功安装扩展。
配置参数
Please read the project README file for more configuration options.
Categories:
- Unmaintained extensions/zh
- User interface extensions/zh
- Notification extensions/zh
- MIT licensed extensions/zh
- Extensions in GitHub version control/zh
- ArticleSaveComplete extensions/zh
- ArticleInsertComplete extensions/zh
- ArticleDeleteComplete extensions/zh
- AddNewAccount extensions/zh
- BlockIpComplete extensions/zh
- UploadComplete extensions/zh
- TitleMoveComplete extensions/zh
- All extensions/zh