[[NOT COMPLETED YET]]
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.
Enter Publisher.
**Create a newsletter**
1. Login to wiki
2. Go to Special:SpecialPages
3. Click on "Create Newsletter"
4. 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_types
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 ?**
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 a 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. As the issue is created, the issue table is updated with a new entry with corresponding issue_id and newsletter_id.
**Looking beyond midterm**
- Enter subscribed user.
- Integrating with Echo, Flow for notifications.
- Unsubscribing of a newsletter
- Design. Making the interface as user friendly as possible is a definite to-do item on the checklist.