Extension:MassMessage/th

Category:GPL licensed extensions/th
MediaWiki extensions manual
MassMessage
Release status: stableCategory:Stable extensions/th
Implementation Special page Category:Special page extensions/th, API Category:API extensions/th
Description Allows a user to easily send a message to a list of users.
Author(s) Kunal Mehta, wctaiwan
Latest version 0.5.0 (2023-01-08)
Compatibility policy Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki 1.25+, use REL1_X branches for your version of MediaWikiCategory:Extensions with manual MediaWiki version
License GNU General Public License 2.0 or later
Download Category:Extensions in Wikimedia version control/th
  • $wgNamespacesToConvert
  • $wgMassMessageAccountUsername
  • $wgNamespacesToPostIn
  • $wgAllowlistedMassMessageTargets
  • $wgAllowGlobalMessaging
  • $wgMassMessageWikiAliases
  • massmessage
Quarterly downloads 21 (Ranked 80th)
Public wikis using 1,039 (Ranked 257th)
Translate the MassMessage extension if it is available at translatewiki.net
Vagrant role massmessage
Issues Open tasks · Report a bug
Category:All extensions/th

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 Help:Extension:MassMessage. The API documentation can be found at Extension:MassMessage/API.

การติดตั้ง

  • ดาวน์โหลดและวางไฟล์ลงในไดเร็กทอรีที่ชื่อ MassMessage ในโฟลเดอร์ extensions/ ของคุณ
    Developers and code contributors should install the extension from Git instead, using: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 ];
ชื่อผู้ใช้

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 <<span lang="en" dir="ltr" class="mw-content-ltr">page list file</span>> --subject <<span lang="en" dir="ltr" class="mw-content-ltr">subject file</span>> --message <<span lang="en" dir="ltr" class="mw-content-ltr">message file</span>>

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

User rights

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

หมายเหตุ

Extensions which integrate with this one: Echo, LiquidThreads.

Interface

This extension is visible in three places:

ดูเพิ่ม

Category:Extensions used on Wikimedia/th#MassMessage/th Category:Notification extensions/th Category:ContentHandler extensions/th Category:Extensions with StructuredDiscussions support/th
Category:APIQuerySiteInfoStatisticsInfo extensions/th Category:API extensions/th Category:All extensions/th Category:BeforeEchoEventInsert extensions/th Category:BeforePageDisplay extensions/th Category:ChangeTagsListActive extensions/th Category:ContentHandler extensions/th Category:Extensions in Wikimedia version control/th Category:Extensions included in Canasta/th Category:Extensions included in Miraheze/th Category:Extensions included in WikiForge/th Category:Extensions used on Wikimedia/th Category:Extensions with StructuredDiscussions support/th Category:Extensions with manual MediaWiki version Category:GPL licensed extensions/th Category:ListDefinedTags extensions/th Category:Notification extensions/th Category:ParserFirstCallInit extensions/th Category:RejectParserCacheValue extensions/th Category:SkinTemplateNavigation::Universal extensions/th Category:Special page extensions/th Category:Stable extensions/th Category:UserGetReservedNames extensions/th