Localisation updates from https://translatewiki.net.

Change-Id: Ia298936ff0d1f2ff609a1026c8491755282e0626
1 file changed
tree: be434e6812fdea7c9585269ec6cdc7e21931de03
  1. .eslintrc.json
  2. .gitignore
  3. .gitreview
  4. .phpcs.xml
  5. .stylelintrc.json
  8. Gruntfile.js
  9. MassMessage.alias.php
  10. MassMessage.i18n.magic.php
  11. MassMessage.php
  12. README.md
  13. composer.json
  14. extension.json
  15. i18n/
  16. includes/
  17. maintenance/
  18. modules/
  19. package.json
  20. tests/


MassMessage is a MediaWiki extension that lets you easily send a talk page message to a large number of users at once. The extension also works over "wikifarm" setups.


$wgNamespacesToPostIn = array( NS_PROJECT );

This limits the bot to only posting in talk namespaces and the Project: namespace.

$wgNamespacesToConvert = array( NS_USER => NS_USER_TALK );

This allows a user to specify a page in the User: namespace, and the bot will automatically convert it to the User talk: namespace.

$wgMassMessageAccountUsername = 'MediaWiki message delivery';

The account name that the bot will post with. If this is an existing account, the extension will automatically take it over.

$wgAllowGlobalMessaging = true;

Whether to enable sending messages from one wiki to another. Can be disabled on all wikis except one "central wiki" which will keep the log entries in one location.

$wgMassMessageWikiAliases = array( 'foo-old.example.org' => 'foowiki' );

An mapping of domain names to their database name. Useful if you have moved or renamed a wiki and need previous input lists to continue working.

Messages are delivered using the job queue. It is recommended that you set up a cron job to empty the queue rather than relying on web requests. You can view how many MassMessage jobs are still queued by visiting Special:Version on your wiki.


Messages are delivered using Special:MassMessage, and can be used by anyone with the massmessage userright, which is given to the sysop group by default.

You will be allowed to preview how your message will look, after which a "Submit" button will appear.

The form requires three different fields:

Input list

The input list provided to the special page must be formatted using a custom parser function.


In this example, the target page is [[Project:Noticeboard]] on your local site.

{{#target:User talk:Example|en.wikipedia.org}}

In this one, the target is [[User talk:Example]] on the "en.wikipedia.org" domain.


The subject line will become the header of your message, and is also used as the edit summary. For this reason, it is limited to 240 bytes.


The body is the main text of the message. You will be automatically warned if your message is detected to have unclosed HTML tags, but it will not prevent message delivery.

Wikis can choose to add an enforced footer by editing the massmessage-message-footer message. In addition to that, a hidden comment will be added containing the user who sent the message, what project it was sent from, and the input list that was used. That comment can be modified by editing the massmessage-hidden-comment on the target site.


MassMessage is licensed under the GNU General Public License 2.0 or any later version. You may obtain a copy of this license at http://www.gnu.org/copyleft/gpl.html.


A full list of contributors can be found in the version control history. The MassMessage extension is based off of code from the TranslationNotifications extension. Thank you to MZMcBride for helping with the design and implementation of this extension.

Many thanks to the users on TranslateWiki who translated the extension.