Yuvi, Aaron and I sat down to review the implementation of revtags for mobile edits and we came up with the following proposal:

Assumptions
• we want to be able to expose whether an edit is from a mobile app or mobile web in MediaWiki as patrollers are filtering edits based on the source
• we want to allow Product to have a handy way to select all mobile edits (regardless of whether they come from apps or mobile web)
• we want a solution that is backward compatible
• we don’t want to use tags to store additional metadata, such as platform or app version (which can be obtained from EventLogging instrumentation)

Proposal
Implement 3 distinct MediaWiki tags [1]

mobile edit
generic tag for all mobile edits

mobile web edit
tag specific to mobile web revisions

mobile app edit
tag specific to mobile app revisions

Each mobile edit will get at least two tags.

• run a maintenance script to remove spurious tags for mobile app account creations from change_tag and tag_summary
• run a maintenance script looking for all instances of mobile edit without mobile web edit or mobile app edit and add tag them as mobile web edit

This should be fully backward-compatible and allow flexible filtering by tag. Let us know if you have any question/concern.

Dario

[1] https://gerrit.wikimedia.org/r/#/c/139195/