Help:Extension:Enviar mensaxe en masa

From mediawiki.org
This page is a translated version of the page Help:Extension:MassMessage and the translation is 41% complete.
Outdated translations are marked like this.

Esta é unha páxina de axuda para usar a extensión de MassMessage . Para atopar as instrucións de instalación, revise a páxina de documentación da extensión

Creando listas de receptores

Hai varias formas de crear listas de receptores para as mensaxes en masa:

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 (see phab:T92795). On most Wikimedia projects, only sysops have editcontentmodel rights.

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.

En configuracións de granxas de wikis, as páxinas noutras wikis indícanse no formato título@wiki editando a páxina (p. ex. Proxecto:Taboleirodeavisos@gl.wikipedia.org). As páxina na wiki local que teñan "@" no título tamén se especifican desta forma para evitar ambigüidades(p. ex. Calquera@bar@mediawiki.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").

Para un exemplo real, revise a páxina de subscrición do Signpost.

Categoría listas de receptores (MediaWiki 1.23 ou posterior)

Mensaxes en masa pode enviar mensaxes a tódalas páxinas en espazos de nomes permitidos nunha categoría dada. Simplemente debe indicar a categoría (p. ex. Categoría:Foo) como a lista de receptores cando se envíe unha mensaxe.

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.

Listas de envío con función de parseo

Pode crear unha páxina que conteña unha lista formatada. O formato da lista é como segue:

{{#target:Project:Noticeboard}}

Neste caso, o nome da páxina é "Proxecto:Taboleirodeavisos". Se está nunha configuración cunha granxa de wikis e quere enviar unha mensaxe a unha páxina noutra wiki, debería usar:

{{#target:Project:Noticeboard|en.wikipedia.org}}

Este exemplo enviará a mensaxe a "Proxecto:Taboleirodeavisos" en 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.

Enviar unha mensaxe

Vaia a "Especial:Mensaxes en masa" na súa wiki.

  1. A primeira caixa de datos é para a lista de receptores. Teclee o nome completo da páxina da lista que creou no paso previo.
  2. A seguinte é para o título da mensaxe, que tamén pode usarse como resumo de edición. Por esta razón está limitado a 240 caracteres.
  3. Finalmente, o corpo da mensaxe. Este campo acepta calquera texto wiki, pero pode darlle algún aviso se detecta algunha entrada incorrecta. Vexa #Input checking
  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 the 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.
  3. Prema previsualizar. Isto cargará unha vista previa coa aparencia da súa mensaxe nunha páxina de exemplo.
  4. Agora pode modificar a mensaxe e previsualizala de novo, ou se está satisfeito co resultado, premer en enviar. Isto executará o seu envío.
  5. Pode visitar "Especial:Estatísticas" na súa wiki para revisar cantas mensaxes está aínda sen enviar na cola de traballo.

Teña en conta que a configuración por defecto converterá automaticamente todas as páxinas de usuario nas súas páxinas de conversa - se especifica "Usuario:Proba" nunha lista de receptores, a mensaxe enviarase a "Usuario conversa:Proba". 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" />
<translate>
<!--T:1-->
Subject section
</translate>
<section end="subject" />
<section begin="body" />
<translate>
<!--T:2-->
Message section

<!--T:3-->
This is the body of the message that will be sent to the user.

<!--T:4-->
Can we handle this?
</translate>
<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.

Configuración

As wikis dende as que se envían as mensaxes poden requirir que se engada un pé editando "MediaWiki:Massmessage-message-footer".

As wikis que reciben a mensaxe, poden editar "MediaWiki:Massmessage-hidden-comment" para unha funcionalidade similar.

Control da entrada

A mensaxe masiva tenta revisar a entrada para atopar erros comúns como etiquetas HTML pechadas incorrectamente. Actualmente fanse estas revisións:

  • etiquetas HTML pechadas incorrectamente (require JavaScript, mostradas a continuación); e
  • ligazóns de idioma sen transformar (p. ex. [[de:Nome de páxina]], mostrado en vista previa).

Borrarse das mensaxes

Cada envío masivo de mensaxes require unha lista de receptores, polo que borrarse desa lista é a forma máis directa de non volver a recibir esa subscrición particular. Normalmente a mensaxe enviada incluirá unha ligazón "borrarse" ou "páxina incorrecta".

Se quere evitar as mensaxes masivas a unha páxina, pode engadir a páxina a [[Categoría:Opted-out of message delivery]]. Esta cadea está localizada e pode ser configurada na súa wiki, revise o valor da páxina "MediaWiki:massmessage-optout-category" para atopar a categoría exacta de exclusión na súa wiki. 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.

Se quere evitar as mensaxes masivas a toda unha wiki, pode bloquear a conta usada para enviar as mensaxes (nas wikis de Wikimedia, esta conta é "MediaWiki message delivery"). Bloquear os envíos de mensaxes masivas pode considerarse altamente agresivo. Teña coidado. As mensaxes que son abortadas debido a un bloqueo (ou calquera outra restrición como por exemplo a protección da páxina) son gardadas en Special:Log/massmessage. 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.

Supervisión

Pode usar Especial:Log/massmessage para supervisar a ferramenta. Tamén pode consultar Especial:Estatísticas para ver cantas mensaxes hai na cola (se hai algunha).

Véxase tamén