Jump to navigation Jump to search
This page is a translated version of the page Help:Extension:MassMessage and the translation is 62% complete.
Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎galego • ‎italiano • ‎magyar • ‎polski • ‎العربية • ‎中文 • ‎日本語 • ‎ꯃꯤꯇꯩ ꯂꯣꯟ • ‎한국어

这是扩展:大量信息 的帮助页面,如果想要安装此扩展,请访问扩展的自述页面。



生成交货清单的特殊页面(MediaWiki 1.24或更高版本)

请注意,创建传递列表要求用户具有“editcontentmodel”用户权限,默认情况下,当前版本的MediaWiki中不会向任何人(包括管理员)提供该权限(请参阅phab:T92795)。 在维基媒体项目中,只有管理员具有editcontentmodel权限。 此外,如果$wgContentHandlerUseDB 已更改为false,则该方法不可用。

MassMessage包含一个用于管理交货清单的特殊页面。 要创建新的交付列表,请转到Special:CreateMassMessageList。 您可以选择创建新列表,也可以从现有交货清单(任何格式)导入页面。 可以在查看传递列表时一次一个地直接添加或删除页面,编辑选项卡提供用于修改说明以及批量添加或删除页面的界面。

在批量编辑界面中,如果您的wiki是wiki系列的一部分,则其他wiki上的目标页面将以“title@site”格式指定(例如“”)。 本地维基上的标题中带有“@”的页面也以这种方式指定以避免歧义(例如“Foo@bar”)。


生成交货清单的特殊页面(MediaWiki 1.23或更高版本)

MassMessage可以将消息传递到给定类别中允许的命名空间中的所有页面。 在发送消息时,只需指定分类(例如Category:Foo)作为交付列表。












  1. The first input box is for the delivery list. Type in the full page name of the list you created in the previous step.
  2. Next is the subject of the message, which will also be used as the edit summary. For this reason, it is limited to 240 bytes.
  1. Next up, is the body of the message. This field accepts any valid wikitext, but it may warn you if it notices bad input. See #Input checking
  1. Finally, we have the page to be sent as a message. This field accepts the name of the page, whose contents will be sent as a message to the users in the delivery list. If body of the message is also provided, then the message will be appended at the end of the page content.
  2. If a page has been selected to be sent as a message, the section of the page control allows you to send a section of the selected page instead of the entire page. This control is a dropdown list that will populate with the list of sections in the selected page, once you hit the Preview button. Sections in the selected page are identified via the <section begin="hello" /><section end="hello" /> tags.
  1. Hit Preview. This will load a preview of how your message will look on an example page.
  2. You can now either modify the message and preview it again, or if you are satisfied with your message, hit send. This will queue your delivery.
  3. You can visit "Special:Statistics" on your wiki to view how many messages are still queued in the job queue.

Note that the default configuration will automatically convert all User pages into User talk pages - If you specify "User:Foo" in a delivery list, the message will be posted to "User talk:Foo". Also, note that if you sign the message with a normal signature (~~~~), the username of the bot (User:MediaWiki message delivery) will appear; to prevent this, mimic a normal signature by linking to your userpage and adding a timestamp: [[User:Example|]] ([[User talk:Example|talk]]) ~~~~~.

Sending a translated message

See Newsletters/Translation#Regular process for instructions on how to send a message that has been translated into many languages.

Sending a translated page as message

Using the Page to be sent as a message field (referred to as message page from here on) it is possible to send a page translated via the Translate extension as a message to pages listed in the delivery list. Select the source page as the message page, preview and then hit send. The source page is the base page under which all the translation pages reside as subpages. For example, if you've marked a page TechBlog for translation, then TechBlog is the source page, and TechBlog/fr is the French translation, TechBlog/es is the Spanish translation and so on.

Each target page on the delivery list will receive the message in,

  • The page content language of the target page, if the message page has been translated into that language.
  • The fallback language, if the message page has been translated to that language. For example, if the page content language of a target page is pt-br, but the message page has not been translated to pt-br, then the pt version of the message page will be posted on the target page.
  • The source language of the page. This is the language from which the page is translated to other languages.
The Translate extension need not be installed on the wiki where the target page is present.


Each wiki from which messages are sent can require a footer to be added by editing "MediaWiki:Massmessage-message-footer".

Each wiki that receives messages, can edit "MediaWiki:Massmessage-hidden-comment" for similar functionality.


MassMessage attempts to check your input for common errors like improperly closed HTML <tags>. Currently the following checks are in place:

  • improperly closed HTML tags (requires JavaScript, shown immediately); and
  • unescaped language links (e.g., [[de:Page name]], shown on preview).


Any MassMessage delivery requires an input list, so removing yourself from whichever input list was used is the most straightforward way to opt out of a particular subscription. Usually the message being delivered will include an "unsubscribe" or "wrong page?" link.

If you want to exempt a page from any and all MassMessage deliveries, you can add the page to [[Category:Opted-out of message delivery]]. This string is localized (via MediaWiki:Massmessage-optout-category) and may be customized on your wiki, so check what the value of the page "MediaWiki:massmessage-optout-category" for the exact exclusion category being used locally.

If you want to exempt an entire wiki from any and all MassMessage deliveries, you can block the account used to deliver messages (on Wikimedia wikis, this account is "MediaWiki message delivery"). Blocking MassMessage deliveries would likely be considered highly disruptive. Be careful. Deliveries that were aborted due to the block (or any other restriction such as page protection) will be logged at Special:Log/massmessage.


You can use Special:Log/massmessage to monitor the tool. You can also visit Special:Statistics to see how many queued messages there are (if any).