Jump to content

확장 기능:디스코드

From mediawiki.org
This page is a translated version of the page Extension:Discord and the translation is 15% complete.
미디어위키 확장 기능 설명서
Discord
출시 상태: 안정
구현 사용자 인터페이스, 알림
설명 MediaWiki extension that sends notifications to Discord.
만든 이 Jayden Bailey (Jaydenkieran토론)
최신 버전 1.2
호환성 정책 스냅샷은 미디어위키와 함께 릴리스됩니다. Master is not backward compatible.
데이터베이스 변경 아니오
  • $wgDiscordNoBots
  • $wgDiscordDisabledHooks
  • $wgDiscordSuppressPreviews
  • $wgDiscordNoMinor
  • $wgDiscordDisabledNS
  • $wgDiscordNoNull
  • $wgDiscordEmojis
  • $wgDiscordMaxCharsUsernames
  • $wgDiscordUseEmojis
  • $wgDiscordDisabledUsers
  • $wgDiscordPrependTimestamp
  • $wgDiscordWebhookURL
Licence MIT License
다운로드
예시 https://runescape.wiki
Discord 확장 기능 번역

The Discord extension sends public events to a Discord webhook from MediaWiki. When a certain event occurs on your MediaWiki wiki, such as recent changes and other log events, they can be sent as a message to a channel on a Discord server using a webhook.

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

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

설치

  • 파일을 Download하고 Discord 폴더를 extensions/ 디렉토리에 넣어 주세요.
  • 아래의 코드를 LocalSettings.php 코드의 마지막에 추가합니다.
    wfLoadExtension( 'Discord' );
    // List webhook URLs to send notifications to (string or array containing strings)
    $wgDiscordWebhookURL = [ "" ];
    
  • Yes 완료 – 위키의 ‘Special:Version’에 이동해서, 확장기능이 올바르게 설치된 것을 확인합니다.

Configuration parameters

See README

See also