This task involves the work with introducing a new change tag that would enable us to distinguish edits made with the 2010 wikitext editor (read: Extension:WikiEditor) from edits made with the other editing interfaces that we are currently tracking with explicit change tags. [i]
Note: currently, all edits made with the legacy wikitext source editors, along with edits made with other tools/interfaces (like Huggle and HotCat) are given a shared Other tag.
Requirements
- Implement a new change tag that enables people to view and filter edits made with the "2010 wikitext editor" within a Superset dashboard like: https://superset.wikimedia.org/r/768.
- Where "edits made with the 2010 wikitext editor" refers to edits made with the Extension:WikiEditor
- Where "view and filter edits" means people can apply filters like the following to edits tagged with this new 2010 wikitext editor tag:
- platform
- project_family
- user_is_bot
- is_reverted
- namespace_is....
- user_edit_count_bucket IN...
- The new "change tag" referenced in "1." should be named wikiedtior
- Within Superset, the wikieditor changed tag should be named 2010 wikitext editor
Considerations
This section contains the [known] tradeoffs we are accepting in this initial approach. The information will help people depending on data from the wikieditor change tag know what it does and does not mean.
- Bots that are A) loading the edit page in a JS-executable environment and B) submitting edits using said page would "receive" the wikieditor tag.
- Bots that include the edit form parameter within the URL they're using to execute a POST call (read: publish an edit) will "receive" the wikieditor tag
Open questions
- 1. What performance metrics could introducing this new tag impact? E.g. Edit response time.
- 2. When and how should the Editing Team evaluate the introduction of this new change tag's impact on the performance metrics defined in "1."?
Use cases
- As originally articulated by @Whatamidoing-WMF...
- "When I look at RecentChanges, I want to know which editing interface is being used for each edit.This can help me learn about other editing environments that I might want to try. It makes it possible for me to give accurate and relevant information (it's no good telling someone to 'click the button in the toolbar' if they've set their prefs to the 2003WTE, which has no toolbar). It will also help me understand the ecosystem, and not assume that everyone uses the same tools that I do. "
- As a WMF Product Team that is considering making a change to one of MediaWiki's core editing interfaces, I want to know the proportion of edits that are likely to be impacted by this change, so that I can decide how and if to proceed wit making it.
- Example: Realtime Preview and deciding about whether to impose a fixed width constraint on people using the 2010 and/or 2003 wikitext editors.
Minimal test case
Verify tag is being added as expected
- Log in
- Visit https://en.wikipedia.org/wiki/Special:Preferences#mw-prefsection-editing
- Verify the Enable the editing toolbar setting is enabled
- Open the source editor. E.g. visit https://en.wikipedia.org/w/index.php?title=User:PPelberg_(WMF)/sandbox&action=edit .
- Publish a change
- Visit: https://en.wikipedia.org/w/index.php?hidebots=1&hidecategorization=1&hideWikibase=1&tagfilter=wikieditor&limit=500&days=30&title=Special:RecentChanges&urlversion=2
- Verify the edit you published in "Step 5." appears
Verify tag is NOT being added as expected
- Log in
- Visit https://en.wikipedia.org/wiki/Special:Preferences#mw-prefsection-editing
- Verify the Enable the editing toolbar setting is disabled
- Open the source editor. E.g. visit https://en.wikipedia.org/w/index.php?title=User:PPelberg_(WMF)/sandbox&action=edit .
- Publish a change
- Visit: https://en.wikipedia.org/w/index.php?hidebots=1&hidecategorization=1&hideWikibase=1&tagfilter=wikieditor&limit=500&days=30&title=Special:RecentChanges&urlversion=2
- Verify the edit you published in "Step 5." does NOT appear
Done
- 1. The answers to all ===Open questions are documented
- 2. All ===Requirements are implemented
- 3. The definition of the wikieditor tag is documented in the appropriate (to be determined) place(s) so that people depending on data from this tag know what it does and does not mean
i. We are currently using explicit change tags to track edits made with the following editing interfaces: VisualEditor , 2017 wikitext editor, and Switched from VisualEditor to wikitext editor. See: https://superset.wikimedia.org/r/773.