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 (392 w, 3 d)
- Availability
- Available
- IRC Nick
- Daimona
- LDAP User
- Daimona Eaytoy
- MediaWiki User
- Daimona Eaytoy [ Global Accounts ]
Fri, Nov 22
So, the first question I asked myself is: what are the topics we should be using? This is already answered in the AC: we want to use the same list that Growth is using. That's consistent with recommendations in T368422#10104429 (and other comments in the same task). As I mentioned in my previous comment (T362259#10333981), as well as in the task description, the list used by Growth is https://www.mediawiki.org/wiki/MediaWiki:NewcomerTopicsOres.json.
Thu, Nov 21
Now waiting for the patch above to reach production (wmf.5, next train) before we can remove the flag from WMF config.
The relevant component is HTMLTimezoneField in MediaWiki core, which is also used by Special:Preferences.
Discussed 2024-11-21: this is no longer a priority, and will be reconsidered as part of T318412.
The CampaignEvents extension already uses Codex in a few places.
Wed, Nov 20
@hashar Thank you for the detailed explanation, as always :) I had read a bit about the reason behind the debian package being marked as externally managed, and I think they're sensible. I was looking for a quick way to get it up and working, without messing with my python installation. As I mentioned in the task description, pipx seems to work nicely, and it's essentially just a wrapper for virtualenvs. To me that's ideal because it allows me to keep a single python version, not mess up with system packages, and the only thing I need to remember is to add "x" after "pip". Obviously this is partly motivated by the fact that I don't need python for many other things; else I probably would have taken the pyenv route.
Discussed 2024-11-20: we think that the technical difficulty is too high, while the product value is low/medium importance, at least for now.
@ifried What should the field label and placeholder be? They're not specified in the AC, and I see them in the various designs only. Also, specifically about the design in the task description, can we avoid the parenthetical plural?
Tue, Nov 19
Fixed now, as verified in https://test.wikipedia.org/wiki/Event:T347608 and https://test.wikipedia.org/wiki/Special:EventDetails/1.
Mon, Nov 18
Update: the MR above fixes the buster-backports issue. The next issue is that these images are buster-based and are using sury-php, but buster packages have been dropped from sury on July 1st, when buster became EOL. See for example T369146 for quibble images. So, we'd have to migrate to bookworm-based images (or bullseye if we really have to, but since this is for development environments only, it might be better to just do the big jump now while at it).
A couple random thoughts from a quick look at this:
- GrowthExperiments seems to source topics from a static list: https://www.mediawiki.org/wiki/MediaWiki:NewcomerTopicsOres.json. Even before looking at GE, I thought that we should do the same, as it helps with performance, and removes risks such as a topic being removed (then what do we do with events using it) or liftwing not being reachable.
- GrowthExperiments has messages for topic names (growthexperiments-homepage-suggestededits-topic-name-*), example. It would be nice to reuse these somehow, to avoid having translators translate the same things twice. I'm not sure how doable this would be for now though (need to move messages to another repo, make sure that topic keys remain consistent, and that it's fine to reuse the same message in both places).
Set $wgCampaignEventsEnableEventWikis = true; in LocalSettings.php to test this.
Sun, Nov 17
I really wish I didn't have to spend a whole sunday afternoon figuring this out and unbreaking our official development environment that's been broken for 8 months now. But such is life sometimes, and at least I learned something along the way.
Fri, Nov 15
Ah, there's also the following error in the browser console:
Uncaught RangeError: Maximum call stack size exceeded at String.replace (<anonymous>) at find (jquery.js:939:26) at find.matchesSelector (jquery.js:1444:9) at jQuery.filter (jquery.js:2795:22) at winnow (jquery.js:2784:16) at jQuery.fn.init.is (jquery.js:2834:12) at keypress (jquery.suggestions.js:427:46) at HTMLInputElement.eval (jquery.suggestions.js:739:7) at HTMLInputElement.dispatch (jquery.js:5145:27) at elemData.handle (jquery.js:4949:28)
Thank you for looking into this!
Caused by r1086560, I believe.