Pronouns: he/him
Babel: it-N, en-3, fr-1
Note: I use this account for both work-related and volunteer activities. Everything that I do tagged with Connection-Team 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 (437 w, 5 d)
- Availability
- Available
- IRC Nick
- Daimona
- LDAP User
- Daimona Eaytoy
- MediaWiki User
- Daimona Eaytoy [ Global Accounts ]
Yesterday
I'm still not 100% sure of what could cause this and would appreciate seeing it, but the fix above should do.
which uses e.target (which can be NULL if custom events are being used)
Mon, Oct 6
(Apologies for the edit conflict, moving back to CR as I had some drafts from an unfinished review, and a couple things I found later, that I turned into a follow-up change)
One thing that the AC do not clarify: should "articles edited" include articles that were created as part of the event (and are therefore already included in "articles created")?
Fri, Oct 3
CentralAuth and dependent extensions got fixed by https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CentralAuth/+/1193021, as confirmed in r1193442. But the thing I ask myself is:
Thu, Oct 2
(Note: disable-if does not support arrays with in_array-style checks, so we may need to build a list of A === X OR A === Y ... manually.)
Wed, Oct 1
Tue, Sep 30
Random thoughts:
- I think this could be resolved by letting organizers export a CSV/TSV file. I thought we already had a task for it, but apparently we don't.
- Not sure if we can make this work synchronously, as opposed to delayed processing where the organizer comes back later to download the file. Perhaps, start by restricting this to event with less than X participants, where we can probably just do it synchronously.
@ifried @JFernandez-WMF question that came up in code review: for the "wiki" column, what are we showing? Options are:
- URL: es.wikipedia.org
- ID: eswiki
- Localised: Spanish Wikipedia
Mon, Sep 29
I'm realizing now that we use the same pattern in 4 more places (BlockRestrictionStoreFactory, DatabaseBlockStoreFactory, ActorStoreFactory, UserFactory). I'm not sure what to do then. It'd be great if this confusion between domain ID and wiki ID could be clarified.
Filed T405922: UserGroupManagerFactory::getUserGroupManager doesn't work correctly when wiki ID contains a hyphen to address the core bug, so this task can be resolved independently of that.
Ah, now that I read the doc comment more carefully:
In fact, when used with LinkTarget it also fails with interwiki prefixes.
Per above
Fri, Sep 26
FWIW, I came across the same issue as part of T400722.
Thu, Sep 25
@JFernandez-WMF Hi! The selector in the task description appears to be full width in desktop, but that is not the default behaviour I got from Codex's select component. Am I missing something? Or, is it fine to leave it at its predefined width? Thanks!
Wed, Sep 24
Tue, Sep 23
Not directly testable, may want to wait for the contributions tab and the association dialog to be merged so you can test all at once.
Mon, Sep 22
Since this is affecting multiple repos, I have created a revert of the core change, so that we can unblock CI for everyone affected while working on a proper fix. I'm going to let it sit for ~half an hour (and complete CI) in case someone is close to pushing a better fix, in which case please let me know.
Blocking patches in other repos, e.g. https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CampaignEvents/+/1181146
@DLynch Thanks for the explanation, it makes sense. Indeed, setting $wgMainStash = CACHE_NONE; is sufficient. That also explains why switching is forbidden - of course it didn't matter for my simple test of just adding a couple letters, but for anything more complex, it would matter. So, I guess the only remaining thing for this task is the JS warning.
Thanks for the quick fix!
Fri, Sep 19
FYI that this happened. A quick test would suffice. Open Special:EnableEventRegistration on a wiki that does not use wgConf and confirm that you can still select that wiki in the event wikis field.
Thu, Sep 18
On the face on it, it's a not-so-uncommon example of confusion between the special value WikiAwareEntity::LOCAL and the full, string form of the wiki ID for the current wiki. From the relevant code:
This issue was previously faced for the participant search in Special:EventDetails. See tasks T308574 and T312645, proposed schema + mention of things to watch our for re renames, and workaround (unfiltered query followed by filtering in PHP code; yuck). That work was eventually declined, but judgind from the above alone it's not clear if there were other reasons. I'm also not sure how complex it might really be dealing with renames. Maybe it was just a case of "non super-simple, the workaround is good enough, let's not bother".
I just had a similar occurrence and spent a good 20 minutes staring at the code in anger before noticing the mismatch :old-man-yells-at-jobqueue:. If this isn't easy to validate at runtime, could we at least have a structure test to verify that the keys in JobClasses match the job's actual command or something like that? At least for extensions and best-effort. As well noted in the task description, the current failure mode is extremely irritating and hard to debug.
