This task would serve as a proposal for MVP for Newsletter extension. The features listed are the ones aimed to be completed before midterm hopefully. Feel free to stop by and drop ideas/suggestions.
== Publisher ==
*** Create a newsletter**
1. Login to wiki
2. Go to Special:SpecialPages
3. Click on "Create N* Create a new issue for an existing newsletter"
4.* Stop a newsletter, Here we make use of Extension:InputBox to create a page with the name entered in the input box as its title. Checkout http://www.mediawiki.org/wiki/Extension:InputBox#Box_typesi.e wiping it out of the database (do we need to look at this right now? It is not urgent.)
5. Save. One missing feature ( to be later added ) is that the publisher cannot 'Publish' right away from this page. The publisher has to navigate to the 'Manage newsletters' and then publish it.
**What happens when a newsletter is created ?*** Add collaborators to the newsletter (what does this mean?)
Just a regular wiki page with an entry in 'page' table but also an entry in the 'newsletter' table. Another table for issues of newsletters which will be mapping issue_id's to newsletter_id's. At this point, newsletters are globally available to any user of a wiki but if you are subscribed user, every time an issue is published you get a notification.
**Manage already published newsletters**
Managing newletter involves activities like:
- Create a new issue for an existing newsletter
- Stop a newsletter, i.e wiping it out of the database
- Add collaborators to the newsletter
- Edit an issue
**Walking through the process**
1. Login to wiki
2. Go to Special:SpecialPages
3. Click on "Manage Newsletters"
4. All the newsletters created by the publisher will be listed. Should it be just a normal listing of names ( links obviously ) or a tile arrangement of the newsletters or a table like https://meta.wikimedia.org/wiki/Newsletters? This table could have a 'Actions' column with possible actions listed like the ones mentioned above. For a MVP, I suppose we could implement two actions - **'Create new issue'** and **'Stop publishing'**.
5. Stop publishing a newsletter would:
- A user cannot subscribe to the newsletter anymore
- We assume the publisher won't be creating anymore issues. But if by chance a publisher publishes a new one, the page exists but no notifications are send out.
6. Create new issue navigates the publisher to page where we make use of the InputBox extension again.* Edit an issue (does this have any implications for the database? As the issue is created, the issue table is updated with a new entry with corresponding issue_id and newsletter_id.They are just wiki pages.)
== Reader ==
**Subscribing/Unsubscribing a newsletter**
On subscribing a newsletter, user_id and newsletter_id is entered into the subscription table. The mode of notification ( about a new issue ) in the MVP is restricted to Email. We can have a email send to all the subscribed users containing a link to the new issue. Similarly Subscribing/Unsubscribing a newsletter (One thing is browsing and subscribing, unsubscribing a newsletter would result in the removal of the corresponding entry from the database.
**Manage newsletters page**
- ** Subscribed newsletters** - As the name suggests this section lists the newsletters to which the user have subscribed to in a table similar to that in a publisher's view of the same page.another is unsubscribing, In the 'Actions' column,maybe therey should be a 'Unsubscribe' option which will take care of unsubscribing from a newsletter.considered different features?)
- **Available newsletters** - A 'SELECT *' should do the job. This also will be in tabular form for MVP with subscribe option, clicking on which will add an entry into the subscription table.
== Looking beyond midterm ==
- Give user a choice on how to get notified, Email or web notifications - Integrating with Echo,* Missing? FlowReceiving a notification for new issues of a subscribed newsletter.
- Design.* Missing? How does the user knows that Newsletters even exist? How to discover.
We have left just the features, leaving out the implementation details. Each feature should have its own task, and in these tasks we should discuss their implementation. Even if you can find a diff of my edit, MakingI also pasted the interface as user friendly as possible is a definite to-do item on the checklistprevious content [[ http://etherpad.wikimedia.org/p/newsletterExtension | here ]] just in case.
Let's agree on the features of the MVP, we left some comments in the description.