User Details
- User Since
- Jul 25 2022, 3:58 PM (194 w, 5 d)
- Availability
- Available
- LDAP User
- Mhorsey
- MediaWiki User
- MHorsey-WMF [ Global Accounts ]
Thu, Apr 9
@ifried for more clarity, it depends on your definition of "fast", we would need to gather this data before the page even loads so we'll be working on the scale of milliseconds and could feasibly be requesting a significant number of documents.
Tue, Apr 7
- Topics
- This would be Topics in LiftWing
Oh, yes you're right. I'm actually not sure.
I believe the structure would be Wp/grc/Event:something? In which case it would behave as expected
I am understanding from the comments that our preferred solution is https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CampaignEvents/+/1212825 but using the user preferences timezone rather than UTC? It's not entirely clear.
Thu, Apr 2
Wed, Apr 1
I have a *relatively* working prototype, so it is *possible* to do this
The performance is TERRIBLE
Liftwing does not accept batch queries, so you have to submit each page ID individually and aggregate the scores later
Sending these requests, even on a relatively barren watchlist, is SLOW
There's very little we can do to mitigate this even with heavy caching
There are tasks open to make liftwing better for scaling (T401778: Evaluate adding caching mechanism for article topic model to make data available at scale, T418493: Integrate Article Topic model with the new caching service) but neither of these are likely to help us in the short term.
Tue, Mar 31
Things to be aware of:
Wed, Mar 25
Working prototype:
Tue, Mar 24
Mon, Mar 23
Cache clear, same result on 2 different events with two different users.
Given that an event has a goal set AND the current user is logged-in
- A progress bar should be displayed in the Contributions tab for EventDetails
- And it should have the following text & formatting:
- Header: "Progress to goal" (in bold)
- Description: "This event has a goal of {X}." where {X} is the goal target with the metric label (e.g. "2,000 articles edited")
- Progress bar should display the current progress towards the goal
- Numeric text below the bar showing current/goal (e.g. "1000/2000")
Given that an event has a goal set,
- A progress bar should be displayed in the Contributions tab for EventDetails
And it should have the following text & formatting:
- Header: "Progress to goal" (in bold)
- Description: "This event has a goal of {X}." where {X} is the goal target with the metric label (e.g. "2,000 articles edited")
- Progress bar should display the current progress towards the goal
- Numeric text below the bar showing current/goal (e.g. "1000/2000")
Mar 19 2026
Mar 17 2026
Mar 16 2026
updated AC based on meeting 16/03/2026
I have a working prototype which has raised a number of questions:
@Daimona as this patch failed to deploy, does it require more work?
@Daimona Feel free to take over if you have nothing else to do!
Mar 10 2026
- Given that an event participant has successfully associated their edit with an event,
- Then they should see a success message,
- And the message should have the following copy: "Your edit has been associated with {EventName}. To see your contribution, navigate to the Contributions view of the event."
- "Contributions view of the event" should link to Contributions tab for event
- "Contributions" should reference the message with actual label of the tab
- And the message should be dismissible.
Mar 9 2026
Mar 5 2026
Mar 4 2026
Discussion with @Catrope and @DTorsani-WMF has been fruitful. We have a defined understanding of scope and actions moving forward.
Estimation for both JS and CSS-only implementation is surprisingly small, it's relatively easy to extend the existing component, T-shirt-size: 3
Upstreaming is already in the plan, but need information about release cycles.
Mar 3 2026
Feb 27 2026
To summarise:
Discussion from Slack with @Catrope and @DTorsani-WMF
Feb 26 2026
Feb 24 2026
Significant changes were made to the pager architecture, so this fix has been rolled into a different patch. All of that work that @Daimona did has been carried over and included in the patch.
Had a great discussion with @HCoplin-WMF about this, pagination is on the list for the new API roadmap but may hold us up for up to 6 months. We can decide if we want to proceed based on this.
This is blocked by T414144, once that is complete we can finish this
Feb 3 2026
Jan 30 2026
Hi DBA s. Tagging to request approval for this schema change, as per https://wikitech.wikimedia.org/wiki/Schema_changes. When approved and merged, I fill file a separate task to get it applied in prod.
Jan 29 2026
@Daimona has questioned if the edit count should contain page creations. I assumed it shouldn’t because we’re counting page creations separately and double counting seems weird, but he is (fairly) pointing out that we DO include them in the summary. (please correct me if I've made an error there ) @Daimona .
Jan 28 2026
Jan 27 2026
how to get the Parsoid HTML in MW
Jan 8 2026
Further comments from Subbu: on edits, when you have Parsoid HTML available, you can count the # of nodes with mw:Extension/ref typeof
I would maybe try reaching out to the Content-Transform-Team to inquire on the feasibility of collecting and exposing the metadata.
It strikes me as a bit odd that from within MediaWiki, with the wikitext parser and everything available via PHP API, we need to use an external tool to parse wikitext. Now, it is true that, last time I checked, the wikitext parser didn't seem to expose, or collect, any metadata with statistics for the number of parser tags used. But then this means that those external tools are approximating and not counting the exact number (given also T407026#11295332); in that case, maybe we still don't need an external tool and can just do the approximation ourselves?


