Extension:Newsletter

This page is a translated version of the page Extension:Newsletter and the translation is 68% complete.
MediaWiki 拡張機能マニュアル
Newsletter
リリースの状態: 安定
実装 ユーザー インターフェイス, 通知
説明 ニュースレターの発行と購読を可能にします。
作者 Tina Johnson, Tony Thomas
最新バージョン 1.2.1 (2017-07-09)
MediaWiki 1.25+
PHP 5.4+
データベースの変更 はい
テーブル nl_issues
nl_newsletters
nl_publishers
nl_subscriptions
ライセンス GNU 一般公衆利用許諾書 2.0 以降
ダウンロード
ヘルプ Help:Extension:Newsletter/ja
  • newsletter-create
  • newsletter-delete
  • newsletter-manage
  • newsletter-restore
Quarterly downloads 9 (Ranked 138th)
translatewiki.net で翻訳を利用できる場合は、Newsletter 拡張機能の翻訳にご協力ください
問題点 未解決のタスク · バグを報告
ウィキ上の全ニュースレターの表示

Newsletter 拡張機能は、あるウィキに登録されているニュースレターのカタログ、出版社が新しい号を発表する簡単な方法、利用者が購読/購読解除を行い新しい号が発表されたときにウェブやメールで通知される簡単な方法を提供します。 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. 利用者向け説明文書については、Help:Extension:Newsletter をご確認ください。

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

機能

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.

要件

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

インストール

  • ダウンロードして、ファイルをextensions/フォルダー内のNewsletterという名前のディレクトリ内に配置します。
    開発者とコード寄稿者は、上記の代わりに以下を使用してGitからインストールします:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Newsletter
  • 以下のコードを LocalSettings.php ファイルの末尾に追加します:
    wfLoadExtension( 'Newsletter' );
    
  • 更新スクリプトを実行します。このスクリプトは、この拡張機能が必要とするデータベーステーブルを自動的に作成します。
  •   完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。

利用者権限

既定では、「管理者」(sysop) グループに属する利用者のみにこの権限があります。 利用者権限は LocalSettings.php でセットアップできます。

権限 説明
newsletter-create ニュースレターを登録
newsletter-delete ニュースレターを削除
newsletter-manage ニュースレターの発行者または購読者を追加/除去
newsletter-restore ニュースレターを復元

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;

履歴

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.

関連項目