Page MenuHomePhabricator

Update edits_hourly to ingest new legacy wikitext editor change tag
Closed, ResolvedPublic

Description

This task involves the work with updating the data Superset ingests such that edits tagged with change tag introduced in T249038 can be visualized and interacted with in a chart like https://superset.wikimedia.org/r/773.

In Superset, this new revision tag will be used to create a new option available in the interface field.

Current interface options in Superset include:

  • 2017 wikitext editor (based on 'visualeditor-wikitext' revision tag)
  • VisualEditor (based on 'visualeditor' revision tag)
  • Switched from VisualEditor to wikitext editor (based on 'visualeditor-switched' revision tag).
  • Other (edits not tagged with the above revision tags, which currently includes all edits made with the legacy wikitext source editors, along with edits made with other tools/interfaces (like Huggle and HotCat) )

Requirements

  1. The interface field of the edits_hourlydataset is updated to include a 2010 wikitext editor option (based on edits tagged with new wikieditor revision tag added in T249038 and documented here)
  1. edits_hourly is updated in such a way that individuals can apply filters, like those listed below, to edits tagged with the change tag introduced in T249038:
    • platform
    • project_family
    • user_is_bot
    • is_reverted
    • namespace_is....
    • user_edit_count_bucket IN...

Done

Note: Edits complete with the 2003 editor wikitext editor will still be left untagged and indicated as Other in Superspet pending completion of T295340.

Event Timeline

ppelberg moved this task from Backlog to Analytics on the Editing-team (Tracking) board.
ppelberg updated the task description. (Show Details)
ldelench_wmf moved this task from Triage to Blocked on the Product-Analytics board.

Change 757035 had a related patch set uploaded (by MNeisler; author: MNeisler):

[analytics/refinery@master] Add 2010 wikitext editor option to edit_hourly interface field

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

Change 757035 merged by Joal:

[analytics/refinery@master] Add 2010 wikitext editor option to edit_hourly interface field

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

MNeisler moved this task from Needs Review to Done on the Product-Analytics (Kanban) board.

@ppelberg
I've confirmed that it is now possible to view and filter edits made with the 2010 wikitext editor in Superset. It's available in the druid.edits_hourly dataset and labeled as '2010 wikitext editor' under the interface field options. Here's a quick Edits by Interface Superset chart you can use to explore edits by editing interface but this should be available to all existing editing charts and dashboards that use the druid.edits_hourly dataset. We started recording edits with this new tag on 14 December 2021.

Reassigning to you for sign-off but let me know if you have any questions about this change.

ppelberg awarded a token.