Aiuto:Estensione:MassMessage

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

Questa è una pagina di aiuto all'utilizzazione della estensione MassMessage. Per le istruzioni sulla installazione, per favore consultare la pagina di documentazione della estensione.

Creazione di una lista di distribuzione

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 (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.

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

See a real example at Signpost subscription page.

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:

{{#target:Project:Noticeboard}}

In questo caso (esempio) il nome della pagina è "Project:Noticeboard". Se sei in un wikifarm setup e desideri postare (inviare) ad una pagina (che risiede) su un'altra wiki, utilizza:

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

Questo esempio posterebbe (invierebbe) su "Project:Noticeboard" di (presente su) 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.

Invio di un messaggio (Inviare un messaggio)

Vai a "Special:MassMessage" sulla tua wiki (Speciale:MassMessage per la Wikipedia in italiano).

  1. La prima casella di input (immissione/inserimento) è per la pagina contenente la lista (di distribuzione/degli utenti/dei destinatari). Digitare il nome completo della pagina elenco che hai creato nel passaggio precedente.
  2. Il (campo) successivo è l'oggetto del messaggio, che verrà utilizzato anche come oggetto della modifica. Per questo motivo, è limitato a 240 byte.
  3. Infine, il corpo del messaggio. Questo campo accetta qualsiasi wikitext valido, ma potrebbe avvisare se si accorge della presenza di errori nella immissione (nell'input). Vedi #Controllo dell'input
  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. Premere (Fare click su) Anteprima. Questo caricherà su una pagina di esempio un'anteprima di come il vostro messaggio apparirà.
  4. È ancora possibile modificare il messaggio e visuliazzarne nuovamente l'anteprima o, se si è soddisfatti con il vostro/tuo messaggio, premere invio. Questo metterà in coda la vostra spedizione/consegna.
  5. È possibile (Si può) visitare "Special:Statistics" sulla tua wiki per vedere quanti messaggi sono ancora (presenti nella/in) coda nel job queue (coda di lavoro/coda dei processi/coda dei messaggi).

Si noti che la configurazione di default (predefinita) convertirà automaticamente tutte le pagine utente in pagine di discussione degli utenti - Se si utilizza 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.

Personalizzazione (Customizzazione)

Ogni wiki da cui vengono inviati i messaggi può richiedere di aggiungere un proprio piè di pagina modificando "MediaWiki:Massmessage-message-footer".

Ogni wiki che riceve messaggi, può modificare "MediaWiki:Massmessage-hidden-comment" per una simile funzionalità.

Controllo dell'input

MassMessage tenta/cerca di controllare il vostro input (ingresso) per la presenza di eventuali errori comuni come, ad esempio, del codice HTML chiuso in modo improprio <tags>. Per ora (Al momento/Attualmente) i seguenti controlli vengono effettuati (sono in atto/presenti):

  • HTML tag impropriamente chiusi (necessita di JavaScript; vengono mostrati immediatamente)
  • collegamenti (link) di lingua non evasi (esempio: [[de:Nome pagina/utente]]; mostrati/visualizzati in anteprima).

Uscire dalla lista/Chiamarsi fuori/Rinunciare

Ogni consegna MassMessage richiede la presenza di una lista di input (lista di ingresso o lista di distribuzione), per cui rimuovere/cancellare se stessi (il proprio nome/la propria username/il proprio nome utente) da qualsiasi lista di input che sia stata utilizzata è il modo più semplice per rinunciare/cancellarsi ds una particolare sottoscrizione. Di solito il messaggio che viene consegnato includerà un collegamento a "Unsubscribe" ("Cancellati/Cancella l'iscrizione/la tua iscrizione" o "wrong page?" ("pagina sbagliata?").

Se si vuole escludere una pagina da (qualsiasi e) tutte le consegne eseguite/effettuate da MassMessage, è possibile aggiungere la pagina a [[Category:Opted-out of message delivery]]. Questa stringa è localizzata e può essere personalizzata sulla tua/vostra wiki. per cui verifica(te) quale sia il valore della pagina??? (nome della pagina???) "MediaWiki:massmessage-optout-category" per (conoscere l'ubicazione/il nome del???)l'esatta categoria di esclusione in uso localmente. 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 si desidera escludere una intera wiki da (ogni e) tutte le consegne effettuate/eseguite da MassMessage, è possibile bloccare l'account utilizzato per recapitare i messaggi (su Wikimedia wiki[s], questo account è "MediaWiki message delivery"). Bloccare MassMessage dalle consegne probabilmente verrebbe considerato altamente distruttivo. Fate/Prestate molta attenzione. Le consegne che sono state interrotte a causa del blocco (o di qualsiasi altra restrizione come la protezione di una pagina) saranno registrate in 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.

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

Vedi anche