एक्सटेंशन:Newsletter

From mediawiki.org
This page is a translated version of the page Extension:Newsletter and the translation is 74% complete.
मीडियाविकि एक्सटेंशन मैन्युअल
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/hi
Quarterly downloads 19 (Ranked 164th)
Newsletter एक्सटेंशन को अनुवादित करें अगर यह translatewiki.net पर उपलब्ध है
मुद्दे अधूरे कार्य · बग की रिपोर्ट करें
एक विकि पर सभी समाचार पत्रिकाओं का दृश्य

Newsletter एक्सटेंशन किसी विकि पर पंजीकृत समाचार पत्रिकाओं का एक कैटलॉग प्रदान करता है, जो प्रकाशकों के लिए नए प्रकाशन घोषित करना आसान बनाता है, और सदस्यों के लिए सदस्यता प्राप्त करने/छोड़ने तथा नए प्रकाशनों के घोषित किए जाने पर वेब या ईमेल के ज़रिए सूचित किए जाने का एक तरीका प्रदान करता है। एक "समाचार पत्रिका" का मतलब है एक प्रकाशन जिसका एक नाम है, विकि पर एक मुखपृष्ठ है, जहाँ पर प्रकाशन के लिए एक केंद्रीय विकि पृष्ठ है। सदस्य प्रलेख के लिए Help:एक्सटेंशन:Newsletter देखें।

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!

कार्यक्षमता

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

आवश्यकताएँ

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

स्थापना

  • फाइलों को डाउनलोड करें और अपने extensions/ फोल्डर के Newsletter नामक डिरेक्ट्री में डालें।
  • अपने LocalSettings.php फ़ाइल के नीचे निम्नलिखित कोड जोड़ें:
    wfLoadExtension( 'Newsletter' );
    
  • अद्यतन स्क्रिप्ट चलाएँ जो स्वचालित रूप से आवश्यक डेटाबेस टेबल्स का निर्माण करेगा जिसकी इस एक्सटेंशन को आवश्यकता है।
  • Yes पूर्ण – अपने विकि पर Special:Version पर जाकर देखें कि एक्सटेंशन को सफलतापूर्वक स्थापित किया गया है कि नहीं।

योगदान करें

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.

सदस्य अधिकार

डिफ़ॉल्ट से सिर्फ '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. 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.

ये भी देखें