Page MenuHomePhabricator

Allow organizer to set or edit goal
Open, In Progress, Needs TriagePublic

Description

User stories:

Setting goals:

As an event organizer, I want to be able to set a goal for my event, so that participants are motivated to join and contribute based on the goal, and so that I can have a clear story of the event outcome based on the goal.

As an event participant, I want to know how my contributions help accomplish the goals of the event, so that I can understand the impact of my edits and of the event overall.

Editing goals:

As an event organizer, I want to be able to edit goals for my event, so that that I can respond to trends that I am seeing during the event (such as a goal being too ambitious or not ambitious enough) and therefore set the most inspiring yet realistic targets for my event.

Acceptance Criteria:

  • Given that an event has Collaborative Contributions enabled,
    • An organizer should be able to optionally set or edit an event goal in Special:EnableEventRegistration and Special:EditEventRegistration
    • And event goal is off by default
      • Note: We will start with only 1 goal for MVP, but we may allow multiple goals later (with one data point per goal)
    • Event goal should be in the following format:
      • 1 task type as a dropdown
        • Options should be from the data that is already tracked by collaborative contributions (i.e., number of articles created, number of articles edited, total edits, bytes added/removed, links added/removed)
        • If nothing added, the placeholder text should be: "Choose an option"
      • Quantitative value (integer)
        • Should validate that it is an integer
        • If nothing added, the placeholder text should be: "Type a number"
        • Note: This may need a maximum number, as determined by engineers
  • If only 1 of the 2 fields is selected, then error message should be: "You need to fill in both required fields to set a goal."
  • Note that the event goal is editable by the organizer at any time
  • These changes should be behind a feature flag

Visual example:

Organizer sets goal in Enable event registration form
Captura de pantalla 2025-12-04 a la(s) 7.47.33 p. m..png (748×2 px, 107 KB)

Event Timeline

ifried updated the task description. (Show Details)
ifried updated the task description. (Show Details)
ifried renamed this task from [placeholder] Allow organizer to set goal to Allow organizer to set goal.Dec 3 2025, 9:00 PM
ifried renamed this task from Allow organizer to set goal to Allow organizer to set or edit goal.Thu, Jan 22, 7:32 PM
ifried updated the task description. (Show Details)
ifried updated the task description. (Show Details)
cmelo changed the task status from Open to In Progress.Tue, Feb 3, 3:49 PM
cmelo claimed this task.

Change #1236326 had a related patch set uploaded (by Cmelo; author: Cmelo):

[mediawiki/extensions/CampaignEvents@master] Allow organizer to set or edit goal

https://gerrit.wikimedia.org/r/1236326