This page is a translated version of the page Help:Extension:MassMessage and the translation is 58% complete.

このページは、MassMessage 拡張機能の使用法についてのヘルプ ページです。インストール手順については、拡張機能の説明文書を参照してください。


MassMessage の配信リストを作成する方法はいくつかあります:

カテゴリ配信リスト(MediaWiki 1.24 以降)

Note that creating delivery lists requires the user to have the "editcontentmodel" user right, which by default is not given to anyone, including sysops, in current versions of MediaWiki (see phab:T92795). ウィキメディアプロジェクトでは、管理者のみが編集権を持っています。 さらに、$wgContentHandlerUseDB がfalseに変更されている場合は、このメソッドは使用できません。

MassMessageでは、配信リストを管理するための専用の特別ページが追加されます。 新しい配信リストの作成は、 お使いのウィキで"Special:CreateMassMessageList" を開きます。 You can choose to create a new list, or to import pages from an existing delivery list (in any format). Pages can be directly added or removed one at a time when viewing delivery lists, and the Edit tab provides an interface for modifying the description and for adding or removing pages in bulk.

一括編集インターフェースでは、ウィキがウィキファミリーの一部である場合、他のウィキのターゲットページは「title @ site」の形式で指定されます(例:「」)。 Pages on the local wiki with "@" in their titles are also specified in this manner to avoid ambiguity (e.g. "").

See a real example at Signpost subscription page.

カテゴリ配信リスト(MediaWiki 1.23 以降)

MassMessageは、特定のカテゴリで許可されている名前空間のすべてのページにメッセージを配信できます。 メッセージを送信するときに、配信リストとしてカテゴリ(Category:Fooなど)を指定するだけです。


You can create a dedicated page containing a custom formatted list of recipients. The format of each username, project, etc. is as follows:




この例では の「Project:Noticeboard」にメッセージを送信します。

See a real example at Tech News subscription page.

Wikidata MassMessage tool

For Wikimedia wikis, you can use Wikidata MassMessage tool to generate a list of wikipages, based on Wikidata items, ready and formatted as a delivery list for MassMessage.



  1. 最初の入力欄には配信先のリストを入れます。前のステップで作ったリストの完全なページ名を入力してください。
  2. 次はメッセージの題名です。これは要約欄に入ります。このため、240バイトまでに制限されています。
  3. 最後はメッセージ本文です。ここでは妥当なウィキテキストであればすべて使用できますが、誤りがある場合は警告が表示されることがあります。#入力内容の確認をご覧ください。
  4. 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 the body of the message is also provided, then the message will be appended at the end of the page content.
  5. 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.
  6. プレビューを押します。表示例のページでメッセージがどう表示されるかのプレビューが読み込まれます。
  7. メッセージを変更して再びプレビューを表示できます。メッセージが完成したら、送信を押します。メッセージは配送のキュー (待ち列) に並びます。
  8. 自分のウィキの「Special:Statistics」で、ジョブキュー内に並んでいるメッセージの件数を確認できます。

既定の設定では利用者ページはすべて利用者トークページに変換されることにご注意ください - 例えば配信リストに「User:Foo」と登録すると、メッセージは利用者ページ「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 user page 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.

Choose a section of (translatable) page as a message or subject

It is possible to send sections of a (translatable) page as a message or subject to pages listed in the delivery list.

Sections in a page can be marked by using the <section> tags. Section markup syntax is the same as with Labeled Section Transclusion. Example:

<!-- Has two sections: subject and body. -->
<!-- This page is marked for translation -->
<section begin="subject" />
Subject section
<section end="subject" />
<section begin="body" />
Message section

This is the body of the message that will be sent to the user.

Can we handle this?
<section end="body" />

Once a page is selected to be sent as a message, and the preview button is clicked, these sections will appear in the drop-downs:

  • Section of the page to be sent as subject
  • Section of the page to be sent as message

Select the appropriate section in each to send that as a subject or message.

Sections from a page selected to be sent as message and subject

When a section of the page is selected to be sent as subject then,

  • Any custom subject provided will be ignored.
  • Tags and newlines from the subject section will be stripped during the message delivery.

If a translatable page is selected to be sent as a message, this would allow localized subject and message to be delivered to the target page. Read Help:Extension:MassMessage#Sending_a_translated_message to understand how the target delivery language is determined.





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.


このツールの動作を Special:Log/massmessage で監視できます。キューで待機しているメッセージ数を Special:Statistics で確認することもできます (ある場合)。