Implementation description
Create a way to fetch the number of participants and new editors per event to be displayed in the reports.
- The query should fetch all unique users that edited or created pages that are related to the event (based on the Page IDs stored for that event)
- The query should return two numerical counts:
- "Participants" represent the total count of unique users who edited any revision within the timeframe (creating new page or editing existing page from the page ids—or any of the other types of edits listed below under "The contributions we're tracking")
- "New Editors" are a subset of "Participants", and are defined as a count of new accounts created, including users who registered up to 14 days before the event (on any wiki)
- Timeframe for the calculation: The counts should consider participants/new-editors at the timeframe: start of the event to the last time we updated the Title IDs.
Deeper dive
Organizers want to know how many people participated in an event, and how many of those people are recently registered. In the past, Grant Metrics required a participant list; in such cases, the number of participants is more or less provided, and all we have to do is figure out which of the participants are New Editors. But Event Metrics will not require a participant list, so a total # of participants must be derived. This will be a big help for online events, for example, which don't typically require or even request signup.
Participant metrics defined
As used in the "Event summary" reports, T205561 and T206692 —see T205561 for definitions
- "Participants"
- "New editors"
Note on fixed vs. continuing metrics.
- Both the "Participants" and "New Editors" metrics remain fixed once the event period ends.
Note on presumed method
- The Participants metric will presumably be achieved by applying the active event filters (time period, wikis, category, worklist), assessing the various contributions we track (see below), and then counting the unique (non-duplicate) actors who made those contributions. (If there is some easier way to get the same number that's even better.)
- The contributions we're tracking include Pages created, Pages improved, Edits, Uploaded files, Wikidata items created, and Wikidata items improved—all of which are also defined in T205561 and the various subtasks referenced there.
- Calculate New Editors if feasible:Once we have the Participants number, we'll then determine the subset of those users who fit the "New Editors" definition (as per T205561). There is a concern that this may prove too resource-intensive and slow results too much. If that's so, it will be fine to provide this metric for events with Participants lists only.
- If we end up dropping the New Editors figure in cases where there is no Participants list, then present the metric (label) onscreen and show the relevant column in downloadable reports, but supply the answer as "n/a" for not available.