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 (365 w, 5 d)
- Availability
- Available
- IRC Nick
- Daimona
- LDAP User
- Daimona Eaytoy
- MediaWiki User
- Daimona Eaytoy [ Global Accounts ]
Yesterday
Sat, May 18
Fri, May 17
There is no endpoint at the moment, so we would have to create one first.
Thu, May 16
@vaughnwalters Just a quick note from working on T365181: I would recommend testing pagination thoroughly (number of pages, first/prev/next/last page, no duplicated or skipped results, ...). I've done some testing for that patch, but there's a decent change I may have missed something because the whole thing is quite tricky.
Seems like two of the errors have fixed themselves in the meantime, and only the last one remains:
Wed, May 15
Hm. I would like to add real type hints to WikiMap and related class, because there are a lot of methods that are documented to only accept string, but don't have a type hint, and therefore their failure states may not be obvious. This is an example of that. Interestingly though, this warning is only emitted in PHP 7.4: starting with PHP 8, array_key_exists accepts more types than just string for its first parameter. I looked at a bunch of methods that could end up being called when WikiMap::getWiki is called across WikiMap, *SiteStore, and SiteConfiguration classes. They all seem to have one thing in common: the $wiki parameter is documented as a string, and the code only expects it to be a string. But yet, everything that those methods do with the wikiID parameter (array_key_exists, str_replace, string concatenation, array offset access, etc.) seems to work just fine with a boolean, as PHP just does some type juggling and doesn't emit any notices. There's nothing I could find that would throw an error or even emit a notice (at least in PHP 8.1), and the implicit cast from false to '' probably doesn't alter the correctness of the code. All in all, this means I didn't find any strong enough reason to add type hints, and that I'll stick with the CampaignEvents fix for now.
Tue, May 14
Yeah, just to clarify, my comment was only in response to the switch from WebRequest to Session. But indeed, it does not address the bug above, which seems to be due to the order of execution.
Alternatively, would it be possible to set a static flag in one of the ConfirmEdit classes? In theory, it doesn't even need to be static as long as the class in question is obtained through the service container. Something like AbuseFilter's own EditRevUpdater::$logIds. Another thing is that this could live all within the ConfirmEdit extension, and the property might be read in triggersCaptcha directly, without using a hook.
Mon, May 13
Now ready for a final round of QA, just making sure that there are no regressions related to database access in a multi-wiki setup.
Sun, May 12
Thu, May 9
(We discussed this a couple days ago. Another option to explore is using the main stash to store JSON blobs instead of having a dedicated schema. Semi-persistence should be fine, as the invitation lists are not critical, and are only relevant for a short period of time anyway. There might be a few technical details to hash out though, such as any size limits, and whether the main stash would be suitable in general.)
Wed, May 8
Tue, May 7
Mon, May 6
This could be way harder than it sounds, basically boiling down to the question of how to detect a test event in a robust way (that doesn't depend on language or project conventions). It could maybe be generalized to a new status (in addition to "open" and "closed") which, when set, has the effect of excluding an event from AllEvents and similar lists.
Fixed by r1023884?
Sun, May 5
Fri, May 3
Since we now have follow-up tasks for all of the above, and those tasks have been discussed and prioritized, should we close this task here?
Thu, May 2
- should use a new column, eg. af_protected that takes a running list of user rights which are required to view the filter/logs
Discussed today. Decision: we will work on this, but it is not considered a blocker. The idea is to show a limited number of organizers (maybe just 1), and then explicitly say that there are more organizers. Users can see the full list by opening the event. @gonyeahialam to explore design options.
Discussed today. Decisions: we will do this now, before widely sharing the event list page. We will consider adding an inline notice to ongoing events in the UI, and possibly a way for users to filter them out. However, that will be done in another task and is not considered a blocker.
Discussed today, see notes at T363867#9763832.
Discussed today at backlog refinement. Decision: we are not considering this a blocker for the time being. We will need to do more research and decide if we actually want to do this and how. Some options we considered:
- Show the time zone but not the time (using the event time zone)
- Show time + time zone using the same rule as EventDetails (online -> user time zone, in-person -> event time zone). Problem: it might be confusing.
- Show time + time zone using the user time zone everywhere. Do not display the time zone for each event. Just display it once, maybe as a form field.
Wed, May 1
This very much is a real problem, and the proposed solution is T277470: Ignore (most) of LocalSettings.php when running PHPUnit (fix surprise test failures). I think that would be pretty much equivalent to this task here, so maybe it can be closed as duplicate?
Tue, Apr 30
Mon, Apr 29
Sun, Apr 28
Sat, Apr 27
Fri, Apr 26
Lol, my first conflict in gitlab.