Help:Extension:MassMessage/zh

这是群发消息扩展的帮助页面，如果想要安装此扩展，请访问扩展的自述页面.

建立目标页面列表
There are several ways to create delivery lists for MassMessage:

Special page to produce delivery lists (MediaWiki 1.24 or later)
''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 T92795). On Wikimedia projects, only sysops have editcontentmodel rights. Furthermore, the method is not available if $wgContentHandlerUseDB has been changed to false.''

MassMessage includes a special page for managing delivery lists. To create a new delivery list, go to "Special:CreateMassMessageList" on your wiki. 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.

In the bulk editing interface, if your wiki is part of a wiki family, target pages on other wikis are specified in the format "title@site" (e.g. "Project:Noticeboard@en.wikipedia.org"). Pages on the local wiki with "@" in their titles are also specified in this manner to avoid ambiguity (e.g. "Foo@bar@mediawiki.org").

真实的例子，检查 Signpost 订阅页面.

Category delivery lists (MediaWiki 1.23 or later)
MassMessage can deliver messages to all pages in allowed namespaces in a given category. Simply specify the category (e.g. Category:Foo) as the delivery list when sending a message.

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

In this case, the page name is "Project:Noticeboard". If you are on a wikifarm setup and wish to post to a page on another wiki, you would use:

This example would post to "Project:Noticeboard" on en.wikipedia.org.

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.

发送消息
前往您维基的“Special:MassMessage”.


 * 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.
 * 3) Finally, the body of the message. This field accepts any valid wikitext, but it may warn you if it notices bad input. See
 * 4) Hit Preview. This will load a preview of how your message will look on an example page.
 * 5) 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.
 * 6) 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".

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

自定义
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. Currently the following checks are in place:


 * improperly closed HTML tags (requires JavaScript, shown immediately); and
 * unescaped language links (e.g.,, 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. 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.

Monitoring
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).

参见

 * m:MassMessage