Расширение:MassMessage

From mediawiki.org
This page is a translated version of the page Extension:MassMessage and the translation is 21% complete.
Справка по расширениям MediaWiki
MassMessage
Статус релиза: стабильно
Реализация Служебная страница , API
Описание Позволяет участнику легко отправлять сообщения группе участников.
Автор(ы) Kunal Mehta, wctaiwan
Последняя версия 0.4.0 (2016-12-06)
Политика совместимости Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki 1.25+, use REL1_X branches for your version of MediaWiki
Лицензия GNU General Public License 2.0 или позднее
Скачать
Помощь Help:Extension:MassMessage/ru
  • $wgNamespacesToConvert
  • $wgMassMessageAccountUsername
  • $wgNamespacesToPostIn
  • $wgAllowlistedMassMessageTargets
  • $wgAllowGlobalMessaging
  • $wgMassMessageWikiAliases
  • massmessage
Ежеквартальные загрузки 55 (Ranked 93rd)
Использование общедоступными вики 1,039 (Ranked 257th)
Переведите расширение MassMessage, если оно доступно на translatewiki.net
Роль Vagrant massmessage
Проблемы Открытые задачи · Сообщить об ошибке

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 Справка:Расширение:MassMessage . The API documentation can be found at Extension:MassMessage/API .

Установка

  • Скачайте и распакуйте файл(ы) в папку с названием MassMessage в вашей папке extensions/.
    Вместо этого разработчикам и соавторам кода следует установить расширение из Git, используя:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/MassMessage
  • Добавьте следующий код в конце вашего файла LocalSettings.php :
    wfLoadExtension( 'MassMessage' );
    
  • Yes Готово – Перейдите на страницу Special:Version на своей вики, чтобы удостовериться в том, что расширение успешно установлено.

Конфигурационные параметры

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 ];
Username

:

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. It will be impossible for users to rename 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.

Права участников

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

Notes

Extensions which integrate with this one: Echo, LiquidThreads.

Interface

This extension is visible in three places:

См. также