Extension:Discord

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

Other languages:
English • ‎dansk • ‎日本語
MediaWiki 拡張機能マニュアル
OOjs UI icon advanced.svg
Discord
リリースの状態: 安定
Mw-discord.png
実装 ユーザー インターフェイス, 通知
説明 MediaWiki extension that sends notifications to Discord.
作者 Jayden Bailey (Jaydenkierantalk)
最新バージョン 1.0 (2018-12-10)
互換性ポリシー master
MediaWiki 1.31+
データベースの変更 いいえ
ライセンス MIT ライセンス
ダウンロード
https://runescape.wiki
  • $wgDiscordWebhookURL
  • $wgDiscordNoBots
  • $wgDiscordNoMinor
  • $wgDiscordNoNull
  • $wgDiscordSuppressPreviews
  • $wgDiscordDisabledHooks
  • $wgDiscordDisabledNS
  • {{# If you are a }]Administration }] parts :an example {1}|}{2|}{3}|Template:See Custom Hook{#ifeq:{{{ temp {1} is a{2} # model {<no script and Inc lude > <2019-01-16 </no include any of the next steps years and experience for team development >}# {3}{by anspage translation services worlds to speciall and your website and new content our Sub page}that is all there is launch in {bg |eg program for >2019-02-25 {[[ Category]{translation} for work the business world will be when you're ready to start {documentations web}{version the of its {}original and favorite product that you can use for the update your website design and development services }]
  • {{# If you are a }]Administration }] parts :an example {1}|}{2|}{3}|Template:See Custom Hook{#ifeq:{{{ temp {1} is a{2} # model {<no script and Inc lude > <2019-01-16 </no include any of the next steps years and experience for team development >}# {3}{by anspage translation services worlds to speciall and your website and new content our Sub page}that is all there is launch in {bg |eg program for >2019-02-25 {[[ Category]{translation} for work the business world will be when you're ready to start {documentations web}{version the of its {}original and favorite product that you can use for the update your website design and development services }]
  • {{# If you are a }]Administration }] parts :an example {1}|}{2|}{3}|Template:See Custom Hook{#ifeq:{{{ temp {1} is a{2} # model {<no script and Inc lude > <2019-01-16 </no include any of the next steps years and experience for team development >}# {3}{by anspage translation services worlds to speciall and your website and new content our Sub page}that is all there is launch in {bg |eg program for >2019-02-25 {[[ Category]{translation} for work the business world will be when you're ready to start {documentations web}{version the of its {}original and favorite product that you can use for the update your website design and development services }]
  • {{# If you are a }]Administration }] parts :an example {1}|}{2|}{3}|Template:See Custom Hook{#ifeq:{{{ temp {1} is a{2} # model {<no script and Inc lude > <2019-01-16 </no include any of the next steps years and experience for team development >}# {3}{by anspage translation services worlds to speciall and your website and new content our Sub page}that is all there is launch in {bg |eg program for >2019-02-25 {[[ Category]{translation} for work the business world will be when you're ready to start {documentations web}{version the of its {}original and favorite product that you can use for the update your website design and development services }]
  • {{# If you are a }]Administration }] parts :an example {1}|}{2|}{3}|Template:See Custom Hook{#ifeq:{{{ temp {1} is a{2} # model {<no script and Inc lude > <2019-01-16 </no include any of the next steps years and experience for team development >}# {3}{by anspage translation services worlds to speciall and your website and new content our Sub page}that is all there is launch in {bg |eg program for >2019-02-25 {[[ Category]{translation} for work the business world will be when you're ready to start {documentations web}{version the of its {}original and favorite product that you can use for the update your website design and development services }]
  • {{# If you are a }]Administration }] parts :an example {1}|}{2|}{3}|Template:See Custom Hook{#ifeq:{{{ temp {1} is a{2} # model {<no script and Inc lude > <2019-01-16 </no include any of the next steps years and experience for team development >}# {3}{by anspage translation services worlds to speciall and your website and new content our Sub page}that is all there is launch in {bg |eg program for >2019-02-25 {[[ Category]{translation} for work the business world will be when you're ready to start {documentations web}{version the of its {}original and favorite product that you can use for the update your website design and development services }]
  • {{# If you are a }]Administration }] parts :an example {1}|}{2|}{3}|Template:See Custom Hook{#ifeq:{{{ temp {1} is a{2} # model {<no script and Inc lude > <2019-01-16 </no include any of the next steps years and experience for team development >}# {3}{by anspage translation services worlds to speciall and your website and new content our Sub page}that is all there is launch in {bg |eg program for >2019-02-25 {[[ Category]{translation} for work the business world will be when you're ready to start {documentations web}{version the of its {}original and favorite product that you can use for the update your website design and development services }]
  • {{# If you are a }]Administration }] parts :an example {1}|}{2|}{3}|Template:See Custom Hook{#ifeq:{{{ temp {1} is a{2} # model {<no script and Inc lude > <2019-01-16 </no include any of the next steps years and experience for team development >}# {3}{by anspage translation services worlds to speciall and your website and new content our Sub page}that is all there is launch in {bg |eg program for >2019-02-25 {[[ Category]{translation} for work the business world will be when you're ready to start {documentations web}{version the of its {}original and favorite product that you can use for the update your website design and development services }]
  • {{# If you are a }]Administration }] parts :an example {1}|}{2|}{3}|Template:See Custom Hook{#ifeq:{{{ temp {1} is a{2} # model {<no script and Inc lude > <2019-01-16 </no include any of the next steps years and experience for team development >}# {3}{by anspage translation services worlds to speciall and your website and new content our Sub page}that is all there is launch in {bg |eg program for >2019-02-25 {[[ Category]{translation} for work the business world will be when you're ready to start {documentations web}{version the of its {}original and favorite product that you can use for the update your website design and development services }]
  • {{# If you are a }]Administration }] parts :an example {1}|}{2|}{3}|Template:See Custom Hook{#ifeq:{{{ temp {1} is a{2} # model {<no script and Inc lude > <2019-01-16 </no include any of the next steps years and experience for team development >}# {3}{by anspage translation services worlds to speciall and your website and new content our Sub page}that is all there is launch in {bg |eg program for >2019-02-25 {[[ Category]{translation} for work the business world will be when you're ready to start {documentations web}{version the of its {}original and favorite product that you can use for the update your website design and development services }]
  • {{# If you are a }]Administration }] parts :an example {1}|}{2|}{3}|Template:See Custom Hook{#ifeq:{{{ temp {1} is a{2} # model {<no script and Inc lude > <2019-01-16 </no include any of the next steps years and experience for team development >}# {3}{by anspage translation services worlds to speciall and your website and new content our Sub page}that is all there is launch in {bg |eg program for >2019-02-25 {[[ Category]{translation} for work the business world will be when you're ready to start {documentations web}{version the of its {}original and favorite product that you can use for the update your website design and development services }]
  • {{# If you are a }]Administration }] parts :an example {1}|}{2|}{3}|Template:See Custom Hook{#ifeq:{{{ temp {1} is a{2} # model {<no script and Inc lude > <2019-01-16 </no include any of the next steps years and experience for team development >}# {3}{by anspage translation services worlds to speciall and your website and new content our Sub page}that is all there is launch in {bg |eg program for >2019-02-25 {[[ Category]{translation} for work the business world will be when you're ready to start {documentations web}{version the of its {}original and favorite product that you can use for the update your website design and development services }]
  • {{# If you are a }]Administration }] parts :an example {1}|}{2|}{3}|Template:See Custom Hook{#ifeq:{{{ temp {1} is a{2} # model {<no script and Inc lude > <2019-01-16 </no include any of the next steps years and experience for team development >}# {3}{by anspage translation services worlds to speciall and your website and new content our Sub page}that is all there is launch in {bg |eg program for >2019-02-25 {[[ Category]{translation} for work the business world will be when you're ready to start {documentations web}{version the of its {}original and favorite product that you can use for the update your website design and development services }]
translatewiki.net で翻訳を利用できる場合は、Discord 拡張機能の翻訳にご協力ください
使用状況とバージョン マトリクスを確認してください。

The Discord extension sends notifications to a Discord webhook (or several) from MediaWiki. When a certain event occurs on your MediaWiki wiki, including new edits, they can be sent as a message to a channel on a Discord server using a webhook.

This extension requires cURL to be installed on your web server, which on Linux is probably as simple as running sudo apt install curl.

Live demo: https://runescape.wiki (https://discord.gg/runescapewiki)

インストール

  • ダウンロードして、ファイルを extensions/ フォルダー内の Discord という名前のディレクトリ内に配置します。
  • 以下のコードを LocalSettings.php の末尾に追加します:
    wfLoadExtension( 'Discord' );
    // List webhook URLs to send notifications to (string or array containing strings)
    $wgDiscordWebhookURL = [ "" ];
    
  • Yes 完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。

Configuration parameters

See README

関連項目

  • https://discordbee.com/servers - Public Discord Servers