Jump to content
MediaWiki

Rozszerzenie:MassMessage

From mediawiki.org
This page is a translated version of the page Extension:MassMessage and the translation is 24% complete.
Podręcznik rozszerzeń MediaWiki
MassMessage
Status wydania: stabilne
Realizacja Strona specjalna , API
Opis Pozwala użytkownikowi łatwo wysyłać wiadomość do danej listy użytkowników.
Autor(zy) Kunal Mehta, wctaiwan
Ostatnia wersja 0.5.0 (2023年01月08日)
Polityka zgodności Snapshots releases along with MediaWiki. Master nie jest kompatybilny wstecznie.
MediaWiki 1.25+, use REL1_X branches for your version of MediaWiki
  • $wgNamespacesToConvert
  • $wgMassMessageAccountUsername
  • $wgNamespacesToPostIn
  • $wgAllowlistedMassMessageTargets
  • $wgAllowGlobalMessaging
  • $wgMassMessageWikiAliases
  • massmessage
Licence Licencja GNU General Public License 2.0 lub nowsza
Pobieranie
Pomoc Help:Extension:MassMessage/pl
Przetłumacz rozszerzenie MassMessage jeżeli jest dostępne na translatewiki.net
Rola Vagrant massmessage
Problemy Otwarte zadania · Zgłoś błąd

The MassMessage extension allows a user to send a message to a list of pages via special page Special:MassMessage. For help on how to use the extension, see Pomoc:Rozszerzenie:MassMessage . The API documentation can be found at Extension:MassMessage/API .

Instalacja

  • Pobierz i umieść plik(i) w katalogu o nazwie MassMessage w folderze extensions/.
    Developers and code contributors should install the extension from Git instead, using:
    cdextensions/
    gitclonehttps://gerrit.wikimedia.org/r/mediawiki/extensions/MassMessage
    
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'MassMessage' );
    
  • Yes Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

Parametry konfiguracyjne

Namespaces to post in

When posting messages, only post them in the specified namespaces. All talk namespaces are already whitelisted.

$wgNamespacesToPostIn = [ NS_PROJECT ];
Namespaces to convert

If you want users to be able to provide a link to a User: page, but have the bot post on their User talk: page you can define that here.

$wgNamespacesToConvert = [ NS_USER => NS_USER_TALK ];
; Nazwa użytkownika

What username the bot should post with. By default, this is "MediaWiki message delivery". If the user already exists, the extension will take over the account. You can override the default account name by specifying (for example):

$wgMassMessageAccountUsername = 'MessengerBot';
Enable global messaging

Whether to enable sending messages from one wiki to another. If running on a wikifarm setup like Wikimedia, you can disable this on all wikis except one to keep the logs in one place.

$wgAllowGlobalMessaging = true;

Maintenance script

You can send messages from the command line with

php sendMessages.php --pagelist <page list file> --subject <subject file> --message <message file>

where each line of <page list file> contains a page name followed by a wiki (database) name, separated by a tab.

Uprawnienia użytkownika

  • massmessage - Lets a user send out messages. By default assigned to the "sysop" user group.

Notatki

Extensions which integrate with this one: Echo, LiquidThreads.

Interface

This extension is visible in three places:

  • Wiki pages with the MassMessageListContent content model, which represent delivery lists.

These are automatically categorised under Category:MassMessage delivery lists .

Zobacz też

To rozszerzenie jest wykorzystywane przez jeden lub więcej projektów Wikimedia. Oznacza to prawdopodobnie, że to rozszerzenie jest stabilne i działa wystarczająco dobrze, aby wykorzystywać je na stronach o dużym natężeniu ruchu. Odnajdź nazwę tego rozszerzenia w plikach konfiguracyjnych Wikimedia CommonSettings.php oraz InitialiseSettings.php, aby zobaczyć gdzie są zainstalowane. Pełną listę rozszerzeń zainstalowanych na określonej wiki można znaleźć na stronie Special:Version na danej wiki.
To rozszerzenie jest dołączone do następujących farm/hostów wiki lub pakietów:

AltStyle によって変換されたページ (->オリジナル) /