Hilfe:Erweiterung:MassMessage

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

Dies ist eine Hilfeseite, die das Benutzen der Erweiterung:MassMessage beschreibt. Installationshinweise finden sich auf der Dokumentationsseite der Erweiterung.

Zustellliste erstellen

Es gibt mehrere Möglichkeiten, Zustelllisten für MassMessage zu erstellen:

Spezielle Seite zur Erstellung von Zustelllisten (MediaWiki 1.24 oder neuer)

Bitte beachten, dass das Erstellen von Zustelllisten das Recht "editcontentmodel" erfordert, das in aktuellen Versionen von MediaWiki standardmäßig nicht vergeben wird, auch nicht an Sysops. (siehe phab:T92795). Bei den meisten Wikimedia-Projekten haben nur Sysops Rechte am Edit-Content-Model.

MassMessage enthält eine spezielle Seite für die Verwaltung von Zustelllisten. Um eine neue Zustellliste zu erstellen, geht man im Wiki auf "Special:CreateMassMessageList". Sie können entweder eine neue Liste erstellen oder Seiten aus einer bestehenden Zustellliste (in einem beliebigen Format) importieren. 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").

Für ein reales Beispiel, siehe die [Abonnementseite].

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}}

Hier ist der Seitenname "Project:Noticeboard". Wenn du auf eine Seite eines anderen Wikis verlinken willst und die technischen Voraussetzungen dafür bestehen (Wikifarm), kannst du folgendes ergänzen:

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

Es würde eine Nachricht auf die Diskussionsseite von "Project:Noticeboard" auf en.wikipedia.org geschickt werden.

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.

Nachrichten versenden

Öffne "Special:MassMessage" auf deinem Wiki.

  1. Das erste Eingabefeld verweist auf die Seitenliste. Gib dort den kompletten Namen der Seite ein, auf der du die Liste im vorherigen Schritt erstellt hast.
  2. Als nächstes wird der Betreff der Nachricht festgelegt. Er wird auch in der Zusammenfassungszeile eingetragen, deshalb können maximal 240 Bytes dafür verwendet werden.
  3. Das dritte Feld beinhaltet die eigentliche Nachricht. Die Eingabe von normalem Wikitext ist möglich. Bei Syntaxfehlern wird möglicherweise eine Warnung ausgegeben, siehe #Eingabeprüfung.
  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. Nach einem Klick auf "Vorschau" wird die Nachricht so angezeigt, wie sie auf einer Beispielseite zu sehen wäre.
  7. Es ist anschließend möglich, die Nachricht zu bearbeiten und eine erneute Vorschau anzuzeigen. Wenn keine Änderungen erforderlich sind, wird der Auftrag mit einem Klick auf "Senden" in die Warteschlange eingetragen.
  8. Auf "Spezial:Statistik" findest du eine Angabe, wie groß die Auftragswarteschlange in deinem Wiki ist.

Die Standard-Konfiguration wandelt automatisch alle Benutzer- in Benutzerdiskussionsseiten um. Wird 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.

Anpassung

In jedem Wiki, von dem aus Nachrichten gesendet werden, kann eine standardmäßig angefügte Fußzeile auf "MediaWiki:Massmessage-message-footer" festgelegt werden.

Beim Empfang von Nachrichten kann "MediaWiki:Massmessage-hidden-comment" angepasst werden, um eine ähnliche Fußzeile wie beim Versand anzufügen.

Eingabeprüfung

Die Erweiterung prüft die Eingaben automatisch, um häufige Fehler, wie nicht richtig geschlossene HTML-Tags, zu vermeiden. Derzeit wird die Nachricht auf Folgendes untersucht:

  • unvollständig geschlossene HTML-Tags (erfordert JavaScript, wird sofort angezeigt)
  • nicht "entschäfte" Interwikilinks (z.B. [[w:Seitenname]], wird in der Vorschau angezeigt).

Nachrichtenempfang verhindern

Jeder Nachrichtenversand mit der Massennachrichten-Funktion wird über Seitenlisten gesteuert. Der einfachste Weg, keine Nachrichten mehr zu empfangen, ist daher, sich aus den betreffenden Listen auszutragen. Meistens enthält jede Nachricht einen Link mit Informationen, wie man sich aus dem entsprechenden Verteiler austragen kann.

Wenn es nötig ist, eine Seite von allen Massennachrichten frei zu halten, kann diese in die [[Kategorie:Von der Nachrichtenzustellung abgemeldet]] eingetragen werden. Der Name dieser Kategorie kann in jedem Wiki wie gewünscht angepasst werden, in dem die Systemnachricht "MediaWiki:massmessage-optout-category" entsprechend verändert wird. 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.

Wenn es nötig ist, ein gesamtes Wiki von allen Massennachrichten auszunehmen, kann das Konto gesperrt werden, mit dem die Nachrichten versendet werden (auf Wikimedia-Wikis ist dies "User:MediaWiki message delivery"). Die komplette Blockierung aller Nachrichten kann auch negative Folgen haben, es ist also Vorsicht geraten. Nachrichten, die aufgrund der Sperre oder einem anderen Berechtigungsfehler, wie beispielsweise einem Seitenschutz, nicht verteilt werden können, erscheinen im Logbuch "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.

Überwachung

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

Siehe auch