Extension:Newsletter

This page is a translated version of the page Extension:Newsletter and the translation is 100% complete.
Other languages:
English • ‎Türkçe • ‎中文 • ‎日本語
MediaWiki manüel uzantıları
OOjs UI icon advanced.svg
Newsletter
Sürüm durumu: kararlı
Create Newsletter.PNG
Uygulama Kullanıcı arayüzü
Açıklama Kullanıcıların bültenlerini yayımlamasını ve abone olmasını sağlar
Yazar(lar) Tina Johnson, Tony Thomas
En son sürüm 1.2.1 (2017-07-09)
MediaWiki 1.25+
PHP 5.4+
Veritabanı değişiklikleri Evet
Tablolar nl_issues
nl_newsletters
nl_publishers
nl_subscriptions
Lisans GNU Genel Kamu Lisansı 2.0 veya üstü
İndir
  • newsletter-create
  • newsletter-delete
  • newsletter-manage
  • newsletter-restore
Translatewiki.net adresinde mevcutsa, Newsletter uzantısını çevirin

Kullanım ve sürüm matrisini kontrol edin.

Sorunlar Açık görevler · Hata bildir
Bir vikideki tüm bültenlerinin görünümü

Newsletter uzantısı, belirli bir vikide kayıtlı bültenlerinin bir kataloğunu, yayıöcıların yeni sorunları duyurması için kolay bir yol ve kullanıcıların abone olması/abonelikten çıkması ve yeni sayılar duyurulduğunda web veya e-posta yoluyla bilgilendirilmesi için kolay bir yol sağlar. Bir "bülten", bir adı, viki ana sayfası ve her sayı veya basım için tek veya merkezi bir viki sayfası olan bir yayım olarak tanımlanır. Kullanıcı belgeleri için Help:Extension:Newsletter kontrol edin.

Subscribe to Newsletter², the newsletter about the Newsletter extension. Announcements, calls for feedback, and some dog food too.

You can test the extension in our vanilla installation or at test.wikipedia.org. We welcome feedback and contributions!

İşlevsellik

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:CreateNewsletter

  • Registered users can add existing newsletters to the system (which is referred to as "CreateNewsletter"). 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:CreateNewsletter. Echo (?) notifications are sent to subscribers when an issue is announced.
  • Administrators and other users granted the rights can add and remove publishers. Administrators 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.)

Gereksinimler

  • 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 at least one user assigned to the "publisher" role; 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).

Kurulum

  • Download and place the file(s) in a directory called Newsletter in your extensions/ folder.
  • LocalSettings.php dosyanızın altına aşağıdaki kodu ekleyin:
    wfLoadExtension( 'Newsletter' );
    
  • Bu uzantının ihtiyaç duyduğu gerekli veritabanı tablolarını otomatik olarak oluşturacak betik güncelleme komutunu çalıştırın.
  •   Yapıldı – Uzantının başarıyla yüklendiğini doğrulamak için vikinizde Special:Version seçeneğine gidin.

Katkı sağlayın

You can contribute code to this extension through Wikimedia Gerrit. You should have a working mediawiki-coreand the latest version of this extension to start contributing. You can setup your local development environment using either of the following:

Development using mediawiki-vagrant (recommended)

  • Follow MediaWiki-Vagrant installation steps and have mediawiki-core running on your vagrant instance.
  • Enable the following roles: echo and newsletter. Read about enabling a role here.
  • Navigate to Special:Version on your wiki and verify that Newsletter is installed successfully.

Development using LAMP server on your computer

  • Follow Gerrit Tutorial to install mediawiki-core on your computer. You have to run all commands mentioned till Gerrit/Tutorial#Download code using Git. You will create an account on Wikimedia Gerrit, which you will use in upcoming steps.
  • Clone newsletterextension into your extensions/ folder using the command below.
git clone ssh://<USERNAME>@gerrit.wikimedia.org:29418/mediawiki/extensions/Newsletter.git
  • Install Echo extension. Install newsletter extension using the installation steps above.
  • Navigate to Special:Version on your wiki and verify that Newsletter is installed successfully.

Once you have the extension installed on your wiki, you can start creating patch-sets and submitting it for code-review following the steps here. Alternatively, you can browse the newsletter-projecton Wikimedia dashboard to work on existing bugs and feature requests. Please ensure that you have a task on Wikimedia Phabricator before you publish your changes to Gerrit. You can read about creating a task on Phabricator here.

Kullanıcı hakları

Varsayılan olarak, yalnızca 'sysop' grubundaki kullanıcılar bu izinlere sahiptir. Kullanıcı haklarını LocalSettings.php olarak ayarlayabilirsiniz.

Yetki Açıklama
newsletter-create Bültenleri kayıt ol
newsletter-delete Bültenleri sil
newsletter-manage Bültenlerine yayımcı veya abone ekleyin veya aboneleri kaldırın
newsletter-restore Bültenleri geri yükle

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;

Geçmiş

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. Our goal is to deploy this extension in Wikimedia. Check the ongoing work in our Phabricator workboard.

After a lot of additional work by other contributors, it was made available to Wikimedia users on July 2017.

Ayrıca bakınız