Extension:DiscordNotifications
Jump to navigation
Jump to search
Discord Notifications リリースの状態: 安定 |
|
---|---|
![]() |
|
実装 | ユーザー インターフェイス, 通知 |
説明 | Sends notifications of actions in MediaWiki like adding, removing or deleting an article into Discord channel |
作者 | Aleksi Postari (kulttuuriトーク) |
最新バージョン | 1.1.3 (2020-05-14) |
MediaWiki | 1.25+ |
PHP | 5.2+ |
データベースの変更 | いいえ |
ライセンス | MIT ライセンス |
ダウンロード | |
|
|
DiscordNotifications 拡張機能の翻訳にご協力ください | |
Integrate Discord with MediaWiki. The DiscordNotifications extension sends notifications of actions in MediaWiki like adding, removing or deleting an article into designated Discord channel(s).
インストール
- ダウンロードして、ファイルを
extensions/
フォルダー内のDiscordNotifications
という名前のディレクトリ内に配置します。 - 以下のコードを LocalSettings.php の末尾に追加します:
wfLoadExtension( 'DiscordNotifications' ); // 必須。 Your Discord incoming webhook URL. Read more from here: https://support.discordapp.com/hc/en-us/articles/228383668 $wgDiscordIncomingWebhookUrl = ""; // 必須。 Name the message will appear be sent from. $wgDiscordFromName = "Wiki"; // URL into your MediaWiki installation with the trailing /. $wgDiscordNotificationWikiUrl = "http://your_wiki_url/"; // Wiki script name. Leave this to default one if you do not have URL rewriting enabled. $wgDiscordNotificationWikiUrlEnding = "index.php?title="; // What method will be used to send the data to Discord server. By default this is "curl" which only works if you have the curl extension enabled. This can be: "curl" or "file_get_contents". 既定値: "curl" $wgDiscordSendMethod = "curl";
完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。
設定のパラメーター
Please read the project README file for more configuration options.
Categories:
- Stable extensions/ja
- User interface extensions/ja
- Notification extensions/ja
- MIT licensed extensions/ja
- Extensions in GitHub version control/ja
- PageContentSaveComplete extensions/ja
- PageContentInsertComplete extensions/ja
- ArticleDeleteComplete extensions/ja
- TitleMoveComplete extensions/ja
- AddNewAccount extensions/ja
- BlockIpComplete extensions/ja
- UploadComplete extensions/ja
- ArticleProtectComplete extensions/ja
- UserGroupsChanged extensions/ja
- APIFlowAfterExecute extensions/ja
- All extensions/ja
- Discord extensions/ja