Paste P627

IRC log of meeting on #wikimedia-newsletter

Authored by Tinaj1234 on May 8 2015, 4:16 PM.
1​8:49 PM <•tonythomas> okey - so let me try to quickly collect what we are doign here
2​8:49 PM <•tonythomas> if something seems non-sensible - please reply
3​8:49 PM <•tonythomas> okey ?
4​8:50 PM <•tonythomas> tinajohnson: there ?
5​8:50 PM <tinajohnson> ok !
6​8:51 PM <tinajohnson> So, like I said I'm almost done with Special: CreateNewslettre
7​8:51 PM <tinajohnson> ofcourse just a template
8​8:51 PM <•tonythomas> tinajohnson: awesome. but think about these things
9​8:52 PM <•tonythomas> as given in the description of
10​8:52 PM <•tonythomas> I hope we are doing #Publishers, now - right ?
11​8:52 PM <tinajohnson> next would be that
12​8:53 PM <•tonythomas> tinajohnson: NewsLetterCreate is done by the publisher, right - so probably you are working on the publisher part
13​8:54 PM <tinajohnson> hm, right. We need to discuss more on that
14​8:54 PM <•tonythomas> true that. Let me share what I think about the special page setup
15​8:54 PM <tinajohnson> the pages for a publisher, his roles etc
16​8:54 PM <tinajohnson> ok
17​8:54 PM <•tonythomas> tinajohnson: true. Let me paste things from #Publishers from the bug so that we can do a deep analysis
18​8:55 PM <•tonythomas> * A process defining the conditions in which a newsletter can be created, featured, demoted, closed (actions that might imply database changes). Just a basic framework to promote best practices and prevent abuse.
19​8:55 PM <tinajohnson> ^right
20​8:56 PM <•tonythomas> so - that would be a common Special:NewsLetter on the SpecialPages list - and when somebody with admin/publisher right clicks on it - he should have be given a page on which there should be two sections
21​8:57 PM <•tonythomas> one section or the top one should be Create a NewsLetter: which would be having a textbox ( as you would've made now ) for the NewsLetter name and a short description box. Looks good ?
22​8:57 PM <tinajohnson> hm, so it redirects to CreateNewsletter for a publisher ?
23​8:57 PM <tinajohnson> ok !
24​8:57 PM <•tonythomas> tinajohnson: I think we can have a single Special:NewsLetter page that will show up create a newsLetter on the top and 'Manage my Publications' at the second half ?
25​8:58 PM <tinajohnson> oh
26​8:58 PM <tinajohnson> that shouldn't be another page ?
27​8:58 PM <•tonythomas> for a normal user - ie without 'newsletter-create' permission - the top part need not show up - or maybe throw a message that you need admin rights for that ?
28​8:58 PM <tinajohnson> oh ok, like tabs you mean ?
29​8:59 PM <•tonythomas> no - half page - and new section for managing his subscriptions ?
30​8:59 PM <tinajohnson> how about having it the way it is in Preferences ?
31​8:59 PM <•tonythomas> tabs. yeah - if it is doable - then its awesome :) I think its doable though
32​8:59 PM <tinajohnson> like two tabs ? I don't about the possibility of that though
33​9:00 PM <tinajohnson> so let me get this straight, we finish off with the publisher as of now ?
34​9:00 PM <•tonythomas> tinajohnson: yeah ! one sec. will brb
35​9:01 PM <tinajohnson> ok
36​9:03 PM <•tonythomas> tinajohnson: back. So - what we need to disucss is what happens after the publisher gives information about a new newsletter and clicks 'Create NewsLetetr'
37​9:03 PM <•tonythomas> copying " nce a newsletter is created, maintaining the content (homepage, subpages) could be done in a plain wiki way for creating pages, watching, editing, reverting, protecting if needed... New content is in practice a draft, since it hasn't been announced to the subscribers. Whoever wants to watch changes can read the drafts and get involved. "
38​9:04 PM <tinajohnson> hm, you mean the way we store the info ?
39​9:04 PM <•tonythomas> considering the 'plain wiki way' - the best option here would be - as per lego to make a table entry for the new newsletter and open up a new wiki page for editing - and copy the page_id to the newsletter table
40​9:05 PM <•tonythomas> it would ease us lot of time and energy so that we neednt worry about people watching and so and so
41​9:06 PM <tinajohnson> ah ! nice one
42​9:06 PM <tinajohnson> open up a new wiki page ?
43​9:07 PM <•tonythomas> tinajohnson: of course. So - there we need to worry about one more thing - Every newsletter will have : 1 homepage and multiple subpages called as 'issues'
44​9:07 PM <•tonythomas> tinajohnson: of course. I think that would be easy.
45​9:07 PM <tinajohnson> ok
46​9:07 PM <•tonythomas> tinajohnson: so - initially when a publisher come in and make a new newsletter - he will be creating a homepage
47​9:07 PM <tinajohnson> ok
48​9:08 PM <•tonythomas> so the homepage id will be pasted to the table. Now - we need to know about how the publisher will be creating new new issues. What do you think ?
49​9:08 PM <tinajohnson> one minute
50​9:08 PM <tinajohnson> need to plug in my laptop
51​9:09 PM <•tonythomas> tinajohnson: okey
52​9:09 PM <tinajohnson> back
53​9:09 PM <tinajohnson> each subpage needs a page id too I guess
54​9:10 PM <tinajohnson> can a publisher delete a subpage alone ?
55​9:10 PM <•tonythomas> tinajohnson: actually - each subpage is a direct wiki page - and it will have its own 'page_id' so I dont think we will have to worry about htat
56​9:10 PM <•tonythomas> tinajohnson: he should be
57​9:10 PM <•tonythomas> actually - the problem is - how we can connect an issue to the main newsletter
58​9:10 PM <tinajohnson> hm
59​9:11 PM <tinajohnson> how about page id of each subpage have the same prefix ?
60​9:11 PM <•tonythomas> tinajohnson: think about this one - how will the publisher create a new issue ?
61​9:12 PM <tinajohnson> maybe there should be CreateIssue page for each newsletter ?
62​9:13 PM <•tonythomas> true that ! Thats why I was telling about two sections in the Special:NewsLetter page
63​9:13 PM <•tonythomas> on the manage newsletter area - the publisher should get listed the newsletter he have created
64​9:14 PM <tinajohnson> yeah
65​9:14 PM <tinajohnson> but 'Manage' is for already created issues ?
66​9:14 PM <•tonythomas> and just below or somewhere adjacent to it - he should get an option - create new issue! Clicking on it should redirect him to a new wiki page - something like NewsLetterNameIssue2 and we can store that in the Db then and there
67​9:14 PM <•tonythomas> looks sensible ?
68​9:15 PM <tinajohnson> In 'manage', what do we have?
69​9:15 PM <tinajohnson> all the published newsletters ?
70​9:17 PM <•tonythomas> tinajohnson: oh - in that case - for a user with 'newsletter-create' right - he should have the newsletter he has created in his Manage NewsLetter section
71​9:17 PM <tinajohnson> yeah
72​9:18 PM <•tonythomas> so that he can make a new issue - or stop publishing. There we need to think about something! Should a publisher be able to edit all the newsletters in his wiki ? or just the one he has authored ?
73​9:18 PM <tinajohnson> just the one he authored I guess
74​9:18 PM <tinajohnson> hm, I dont know
75​9:19 PM <•tonythomas> tinajohnson: Authors / Editors: a group of people that are allowed and/or expected to contribute content
76​9:19 PM <•tonythomas> Publishers: a group of people that are allowed to finalize an edition and publish it to readers
77​9:19 PM <•tonythomas> okey - so I think we can allow a person with newsletter-create permission to edit anything as of now
78​9:19 PM <•tonythomas> more privelage and rights can be added later, I think
79​9:20 PM <tinajohnson> ok
80​9:20 PM <•tonythomas> so - thinking about the backend - we will need one more table - newsletter-issues which would map newsletter_id to new issue_page_ id
81​9:20 PM <tinajohnson> if a editor makes changes, it needs to be verified by the publisher ?
82​9:21 PM <tinajohnson> should there be another provision for that ?
83​9:21 PM <•tonythomas> tinajohnson: I think the pure wiki way will allow those things !
84​9:21 PM <tinajohnson> ok
85​9:21 PM <•tonythomas> when the publisher creates a page, he will be subscribed ( watched ) on the page and if the editor edits it - he will get a notification ( thats the default wiki way - we no need to worry about )(
86​9:22 PM <•tonythomas> so - the new table would get entries once the publisher clicks on new_issues! got that one ?
87​9:22 PM <tinajohnson> yeah
88​9:23 PM <•tonythomas> tinajohnson: so - that would help us complete the publisher view, I think !
89​9:23 PM <•tonythomas> thanks to all-wiki-way
90​9:23 PM <tinajohnson> yeah
91​9:23 PM <•tonythomas> please ask if you got into trouble with something ?
92​9:23 PM <•tonythomas> have you looked at the database entry functions in extensions ?
93​9:23 PM <tinajohnson> not yet
94​9:23 PM <tinajohnson> I'll update the descriptions like Quim said
95​9:24 PM <•tonythomas> tinajohnson: of course. Can you paste the entire chat as a paste in phab and paste the link over there?
96​9:24 PM <•tonythomas> I hope you have added that modules to your phab page !
97​9:24 PM <tinajohnson> yeah
98​9:24 PM <tinajohnson> will do
99​9:25 PM <•tonythomas> tinajohnson:
100​9:25 PM <tinajohnson> what modules ?
101​9:25 PM <•tonythomas> you should add 'Paste'
102​9:25 PM <tinajohnson> ok
103​9:26 PM <•tonythomas> tinajohnson: thanks for the time. Need to be going now
104​9:26 PM <tinajohnson> sure
Tinaj1234 edited the content of this paste. (Show Details)May 8 2015, 4:16 PM
Tinaj1234 changed the title of this paste from untitled to IRC log of meeting on #wikimedia-newsletter.
Tinaj1234 updated the paste's language from autodetect to text.
Tinaj1234 changed the edit policy from "All Users" to "No One".