Extension:DiscordNotifications/pl
![]() Status wydania: stabilne |
|
---|---|
![]() |
|
Realizacja | Interfejs użytkownika, Powiadomienia |
Opis | Sends notifications of actions in MediaWiki like adding, removing or deleting an article into Discord channel |
Autor(zy) | Aleksi Postari (kulttuuridyskusja) |
Ostatnia wersja | 1.1.3 (2020-05-14) |
MediaWiki | 1.25+ |
PHP | 5.2+ |
Zmiany w bazie danych | Nie |
Licencja | Licencja MIT |
Pobieranie | GitHub: |
|
|
Translate the DiscordNotifications extension | |
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).
Installation
- Download i umieść plik(i) w katalogu o nazwie
DiscordNotifications
w swoim kataloguextensions/
. - Dodaj poniższy kod na dole twojego pliku
LocalSettings.php
:wfLoadExtension( 'DiscordNotifications' ); // Required. Your Discord incoming webhook URL. Read more from here: https://support.discordapp.com/hc/en-us/articles/228383668 $wgDiscordIncomingWebhookUrl = ""; // Required. 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". Default: "curl" $wgDiscordSendMethod = "curl";
Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.
Configuration parameters
Please read the project README file for more configuration options.
Zobacz też
![]() | To rozszerzenie jest dołączone do następujących pakietów lub farm wiki: To nie jest pełna lista. Niektóre farmy/wiki mogą wykorzystywać to extension, nawet jeśli nie są tutaj wymienione. Zawsze sprawdzaj swoje farmy/hosty wiki, aby to potwierdzić. |
Categories:
- Stable extensions/pl
- User interface extensions/pl
- Notification extensions/pl
- MIT licensed extensions/pl
- Extensions in GitHub version control/pl
- PageContentSaveComplete extensions/pl
- PageContentInsertComplete extensions/pl
- ArticleDeleteComplete extensions/pl
- TitleMoveComplete extensions/pl
- AddNewAccount extensions/pl
- BlockIpComplete extensions/pl
- UploadComplete extensions/pl
- ArticleProtectComplete extensions/pl
- UserGroupsChanged extensions/pl
- APIFlowAfterExecute extensions/pl
- All extensions/pl
- Extensions included in Miraheze/pl
- Discord extensions/pl