Pronouns: he/him
Babel: it-N, en-3, fr-1, de-1
Note: I use this account for both work-related and volunteer activities. Everything that I do tagged with Campaign-Tools or related to the CampaignEvents extension is in my work capacity, and everything else is in my volunteer capacity, unless otherwise stated.
User Details
- User Since
- May 18 2017, 10:49 AM (371 w, 4 d)
- Availability
- Available
- IRC Nick
- Daimona
- LDAP User
- Daimona Eaytoy
- MediaWiki User
- Daimona Eaytoy [ Global Accounts ]
Yesterday
Also, @gonyeahialam just to confirm: from a user's perspective, what happens after they submit the form, assuming the submission is valid? Should we send the user to Special:InvitationList and show the pending state (T364802)?
Resolving this, and eagerly awaiting to learn how I managed to screw something up in some new fun way.
@ifried One more question. I assume we want to also display an error if the invitation list name is empty, or it contains only spaces. I wrote the following message for this:
Sun, Jun 30
I think we're not too far away. Adding the constructor is maybe a small price we can pay. The one thing I would like for phan to do is to better handle the union type when the template type isn't specified (i.e., just Status instead of Status<Something>). Like resolving the templated type to mixed (or equivalent polymorphic type). This would let us drop the |mixed and get all the benefits when using the full Status<T> syntax, while retaining the existing behaviour for plain Status. The problem is, I doubt that's going to happen given the state of upstream.
Sat, Jun 29
Is this a fresh bug report? I'm unable to reproduce this, see screenshots below.
Fri, Jun 28
Thu, Jun 27
Also wondering about
Classic PEBKAC -- the host was changed as part of T345566. Docs updated.
I have a fix for this and will push it shortly. What I still need to understand is why phan didn't flag the problem.
I found out that the event causing the exception is https://meta.wikimedia.beta.wmflabs.org/wiki/Special:EventDetails/119, whose organizer's account has been deleted. I still have to reproduce the actual exception though, and T368620 certainly doesn't help.
This work is now complete, and since it's not testable, I'm closing the task.
Wed, Jun 26
Tue, Jun 25
@vaughnwalters Sorry, there have been CI issues earlier today and the page didn't get merged. I also just made a couple more tweaks to the patch, hence moving this back to code review.
Fri, Jun 21
I have reordered the AC so that it's easier to see which criteria refer to the event page, and which to the worklist.
@gonyeahialam Two questions about the image:
- Is there a repository for these where we can copy the SVG from? Copying directly from Figma gives a hefty 4MB SVG, but I assume there's an optimized version somewhere.
- Since the image represents a written document, we need a flipped version of it for RTL languages. I would assume that the flipped version can be found where this image lives.
Thu, Jun 20
A few questions/thoughts:
- The AC say that the title of the page would be "Invitation lists", but the prototype has "My invitation lists". Which one is correct?
- T365068 has been closed as duplicate. Should we just copy the relevant parts from the AC of T356679, for what concerns feature enabled vs disabled and logged out vs not authorized vs authorized?
- The explanatory text and button label are also different, so I'd like to confirm whether we should go with what's in the AC:
Hi @Wargo, are you still planning to work on this? Please let me know if you need any help.
I just realized that this task is now in "Ready for development", but I think the AC are incomplete. Of the validations I listed in T365629#9889879, I only see a message for the "page must exist" one, but not for invalid titles, or for pages outside of the mainspace.
Wed, Jun 19
Tue, Jun 18
@cmelo I just realized that the ce_invitation_list_users table does not currently have a primary key.
Mon, Jun 17
Hey @ifried, I have two minor questions that came up in code review.
- Should the two notices ("This wiki does not have invitation lists enabled" and "You are not allowed to use invitation lists") end with a full stop? This isn't very clear in the AC.
- What should happen if a logged-out user visits the Special:GenerateInvitationList page and the feature is not enabled? Should we tell them that the feature is disabled, or should we ask them to login, and then tell them that it's disabled? I think the first, but I'd like to hear your thoughts on this.
I think a way to test this would be to 1) confirm that there's a substantial reduction in the number of queries, especially when showing many events (can be quickly seen in the debug toolbar), and 2) verify that the information shown is still correct.
Fri, Jun 14
Thank you. Is this ready for DBA review then?
Thu, Jun 13
I was going through this again, and I have a few questions/thoughts:
- AIUI, "worklist" is just the list of articles. "Invitation list" is the list of users to invite, and we're also using this term to identify the combination of worklists + users. But then, shouldn't ce_worklists actually be called ce_invitation_lists? ce_worklists_articles is maybe fine, though I'm unsure about the plural in "worklists". ce_worklists_users would presumably be ce_invitation_list_users?
- Who should be able to view a given invitation list? I thought it would only be the person who created the list itself (not the event). If so, we should store the creator of the list in the ce_worklists table, else we don't know who each list belongs to.
- Thinking about indices. In SpecialMyInvitationLists, we'll need to filter by user and, optionally, wiki. So, I think we'll need a composite index on user + wiki (in this order). I don't think the application needs an index on the wiki alone, but unsure about whether it's needed for analytics. The other indices seem sufficient (I think we'll only need primary keys and the indices on invitation list IDs).
- There's also the page ID question that was discussed in code review, which should go with the DBA review.