Page MenuHomePhabricator

Add 'Views to pages improved' (since event start) to Event Summary reports
Open, Needs TriagePublic3 Estimated Story Points

Description

What to do

  • Create a method for "Views to pages improved" (from the event start date—see recipe below)
  • Add the new metric to the Event Summary downloadable and onscreen reports.
  • Add the a definition for the new metric to the onscreen hover glossses.

Recipe for this metric

To do this in a rough-and-ready way that is less taxing to the system (and the team), we will use this approach:

  • For each unique Page Improved, get a sum for pageviews from the start date/time of the event to the present.
  • Total the sums for each page for a grand total.

Where to insert in reports

Here's where to insert this new metric in each of the three Event Summary reports:

  • Onscreen report: Put the number in the Impact section, just after "Views to pages created".
  • Wikitext report: Put the number right after "Pages Improved".
  • CSV report: Put the number right after "Views to pages created".

Metric definition to add to gloss

  • Views to pages improved: A cumulative total of pageviews to all main namespace Pages Improved. All pages are counted from the start of the event.

Why we're doing this

An event organizer makes the case that a cumulative pageviews number for Pages Improved is important, so that she can add this to the Views to Pages Created number and get a total, apples-to-apples impact number (instead of having to report a cumulative number for one and an average number for the other). By taking the shortcut of counting from the event start—instead of using the more accurate method of counting each Page Improved from the unique time/date of its first edit during the event—we can feasibly accommodate this request.