Extension:Newsletter

This page is a translated version of the page Extension:Newsletter and the translation is 50% complete.
Manuel des extensions MediaWiki
Newsletter
État de la version : stable
Implémentation Interface utilisateur, Notifier
Description Permet aux utilisateurs de publier et s'abonner à des bulletins
Auteur(s) Tina Johnson, Tony Thomas
Dernière version 1.2.1 (2017-07-09)
MediaWiki 1.25+
PHP 5.4+
Modifie la base
de données
Oui
Tables nl_issues
nl_newsletters
nl_publishers
nl_subscriptions
Licence Licence publique générale GNU v2.0 ou supérieur
Téléchargement
Aide Help:Extension:Newsletter/fr
  • newsletter-create
  • newsletter-delete
  • newsletter-manage
  • newsletter-restore
Téléchargements trimestriels 11 (Ranked 129th)
Traduire l’extension Newsletter sur translatewiki.net si elle y est disponible
Problèmes Tâches ouvertes · Signaler un bogue
Visualisation des bulletins d'un wiki

The Newsletter extension provides a catalog of newsletters registered in a given wiki, an easy way for publishers to announce new issues, and an easy way for users to subscribe/unsubscribe and be notified via web or email when new issues are announced. A "newsletter" is defined as a publication that has a name, a wiki home page, and a single or central wiki page for each issue or edition. Pour la documentation utilisateur, tester Aide:Extension:Newsletter .

You can test the extension at test.wikipedia.org. We welcome feedback and contributions!

Fonctionnalités

Special:Newsletters

  • List of newsletters that are registered with the service, with their basic information, generated automatically.
  • Registered users can subscribe to newsletters in order to receive notifications about new issues announced, via web or email, according to their Echo preferences. It is not expected to offer delivery to user talk pages.
  • Registered users can check the newsletters they have subscribed to, and they can unsubscribe.

Special:RegisterNewsletter

  • Administrators can add existing newsletters to the system. They must provide the title of the newsletter; a link to an existing wiki page that serves as main page; and a description.

Special:ManageNewsletter

  • Publishers can announce issues for newsletters that have been added into the system via Special:RegisterNewsletter. Echo notifications are sent to subscribers when an issue is announced.
  • Administrators, existing publishers, and other users granted the rights can add and remove publishers. They must provide the name of the newsletter and username of the publisher. (This is separate from Special:UserRights; the right exists only in relation to a specific newsletter.)
  • Administrators, existing publishers and other users granted the rights can also view, add, and remove subscribers from newsletters.

Prérequis

  • Install Echo - Newsletter extension makes use of Echo notifications to notify subscribed users of new issues when announced by the newsletters, and to notify new publishers and subscribers added.
  • In order be registered with the service, a newsletter must have a name, a central "home page" and in order to publish issues/editions and issue notifications, each issue must have its own page (or central page, such as a table of contents).

Installation

  • Téléchargez et placez le(s) fichier(s) dans un répertoire appelé Newsletter dans votre dossier extensions/.
    Les développeurs et les contributeurs au code doivent à la place installer l'extension à partir de Git en utilisant:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Newsletter
  • Ajoutez le code suivant à la fin de votre fichier LocalSettings.php  :
    wfLoadExtension( 'Newsletter' );
    
  • Exécutez le script de mise à jour qui va créer automatiquement les tables de base de données dont cette extension a besoin.
  •   Fait – Accédez à Special:Version sur votre wiki pour vérifier que l'extension a bien été installée.

Droits utilisateur

Par défaut, seuls les utilisateurs du groupe 'sysop' ont ces permissions. You can set up the user rights in LocalSettings.php.

Right Description
newsletter-create Inscrire des bulletins d’information
newsletter-delete Supprimer des bulletins d’information
newsletter-manage Ajouter ou supprimer des éditeurs ou des abonnés aux bulletins d’information
newsletter-restore Rétablir un bulletin d'information.

For example, the following configuration would allow any user to do anything they want with the Newsletter extension, such as creating a new newsletter, deleting an existing newsletter, or managing an existing newsletter by adding or removing publishers.

$wgGroupPermissions['*']['newsletter-create'] = true;
$wgGroupPermissions['*']['newsletter-delete'] = true;
$wgGroupPermissions['*']['newsletter-manage'] = true;
$wgGroupPermissions['*']['newsletter-restore'] = true;

Historique

This extension was created in 2013, then modified heavily as part of a Google Summer of Code 2015 project. Its development team is formed mostly by volunteers, and we welcome new contributors. After a lot of additional work by other contributors, it was made available to Wikimedia users on July 2017.

Voir aussi