Extension:MassMessage - MediaWiki
Jump to content
From mediawiki.org
Translate this page
Languages:
Türkçe
dansk
magyar
polski
português
português do Brasil
čeština
русский
עברית
العربية
سنڌي
پښتو
বাংলা
ไทย
中文
한국어
MediaWiki extensions manual
MassMessage
Release status:
stable
Implementation
Special page
API
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 MediaWiki
Parameters
$wgNamespacesToConvert
$wgMassMessageAccountUsername
$wgNamespacesToPostIn
$wgAllowlistedMassMessageTargets
$wgAllowGlobalMessaging
$wgMassMessageWikiAliases
Added rights
massmessage
Hooks used
APIQuerySiteInfoStatisticsInfo
BeforeEchoEventInsert
BeforePageDisplay
ChangeTagsListActive
CodeMirrorSpecialPage
ListDefinedTags
ParserFirstCallInit
RejectParserCacheValue
SkinTemplateNavigation::Universal
UserGetReservedNames
Hooks provided
MassMessageJobBeforeMessageSent
Licence
GNU General Public License 2.0 or later
Download extension
Git
Browse repository
GitHub
Gerrit code review
Git commit log
Download source tarball
Help
Help:Extension:MassMessage
Translate the MassMessage extension
if it is available at translatewiki.net
Vagrant role
massmessage
Issues
Open tasks
Report a bug
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
Installation
and move the extracted
MassMessage
folder to your
extensions/
directory.
Developers and code contributors should install the extension
from Git
instead, using:
cd
extensions/
git
clone
Add the following code at the bottom of your
LocalSettings.php
file:
wfLoadExtension
'MassMessage'
);
Done
– Navigate to
Special:Version
on your wiki to verify that the extension is successfully installed.
Configuration parameters
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. 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
where each line of
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.
Notes
Extensions which integrate with this one:
Echo
LiquidThreads
Interface
This extension is visible in three places:
Special:CreateMassMessageList
, to create delivery lists.
Wiki pages with the
MassMessageListContent
content model, which represent delivery lists. These are automatically categorised under
Category:MassMessage delivery lists
Special:MassMessage
, to send a message to a delivery list.
See also
Extension:MassMessageEmail
- Emails users instead of posting on their talk pages.
This extension is being used on one or more
Wikimedia projects
. This probably means that the extension is stable and works well enough to be used by such high-traffic websites. Look for this extension's name in Wikimedia's
CommonSettings.php
and
InitialiseSettings.php
configuration files to see where it's installed. A full list of the extensions installed on a particular wiki can be seen on the wiki's
Special:Version
page.
This extension is included in the following wiki farms/hosts and/or packages:
Canasta
Miraheze
Retrieved from "
Categories
Stable extensions
Special page extensions
API extensions
APIQuerySiteInfoStatisticsInfo extensions
BeforeEchoEventInsert extensions
BeforePageDisplay extensions
ChangeTagsListActive extensions
CodeMirrorSpecialPage extensions
ListDefinedTags extensions
ParserFirstCallInit extensions
RejectParserCacheValue extensions
SkinTemplateNavigation::Universal extensions
UserGetReservedNames extensions
GPL licensed extensions
Extensions in Wikimedia version control
All extensions
Extensions used on Wikimedia
Extensions included in Canasta
Extensions included in Miraheze
Notification extensions
ContentHandler extensions
Extensions with StructuredDiscussions support
Hidden categories:
Extensions with release branches compatibility policy
Extensions with manual MediaWiki version
Extension
MassMessage
Add topic
US