This task is for the work involved with making it possible for people who are logged in to turn the New Discussion Tool on/off within Special:Preferences#mw-prefsection-editing.
For the broader conversation/work involved with architecting how we might represent the various settings associated with the tools and enhancements we will introduce as part of the Talk pages project, please see this task: T257889.
Behavior
The functionality for turning the New Discussion Tool on/off, described in the numbered steps beneath this sentence, should apply to people who meet the following conditions: A) they are logged in and B) they are on a wiki where the New Discussion Tool is available as an opt-out feature or as a Beta Feature.
- Visit Special:Preferences#mw-prefsection-editing
- Notice a section titled Talk pages located beneath the existing Preview section
- Note: "Talk" should match the label we give to discussion pages on that wiki, so by default for English it is "Discussion" (as seen on en.wiktionary.org), whereas on en.wikipedia.org it is "Talk".
- Notice a setting titled Enable quick topic adding
- Notice a description beneath the Enable quick topic adding setting that reads: This will show you an in-line form for adding new topics. You can learn more about this feature by reading the [https:\/\/www.mediawiki.org\/wiki\/Special:MyLanguage\/Talk_pages_project\/Feature_summary feature summary].
Requirements
Special:Preferences#mw-prefsection-editing
- This new setting should appear in Special:Preferences#mw-prefsection-editing within a the existing Talk pages section.
- The item/setting should called Enable quick topic adding
- The item/setting should have a subtitle that reads: This will show you an in-line form for adding new topics. You can learn more about this feature by reading the [https:\/\/www.mediawiki.org\/wiki\/Special:MyLanguage\/Talk_pages_project\/Feature_summary feature summary].
Meta
- The New Discussion Tool will need to be able to be deployed differently at different wikis
- Meaning: the New Discussion Tool will need to be able to be made available to all users at ar.wiki by default, whereas at fr.wiki, the tool might need be made available via Beta Features
- The Enable quick topic adding setting should appear in Special:Preferences#mw-prefsection-editing whenever the Discussion tools Beta Feature is enabled.
Setting behavior
- When the checkbox is enabled, people who click any affordance that opens the section=new form (e.g. Add topic link) will notice the New Discussion Tool open the talk page they are viewing.
- When the checkbox is disabled, people who click any affordance that opens the section=new form (e.g. Add topic link) will be taken to the existing section=new form that opens on a page separate from the one they clicked the Add topic link on.
Setting defaults
- 1. For people at wikis where the Reply Tool is currently available as a beta feature and who enabled the Reply Tool, by way of turning on the Discussion tools beta feature, they should automatically have access to the New Discussion Tool once it is made available.
- Note: they should be made aware of the New Discussion Tool's existence *before* they are taken to it. See: T270788.
- 2. For people at wikis where the Reply Tool is currently available as a beta feature and who disabled/never enabled the Reply Tool, by way of the Discussion tools, they should not automatically have access to the New Discussion Tool once it is made available.
- 3. For people at wikis where the Reply Tool is currently available as an opt-out feature and who explicitly turned on the Reply Tool, by way of the Discussion Tools beta feature, they should automatically have access to the New Discussion Tool once it is made available.
Note: they should be made aware of the New Discussion Tool's existence *before* they are taken to it. See: T270788.See: T270788#6780931.
- 4. For people at wikis where the Reply Tool is currently available as an opt-out feature and who explicitly turned off the Reply Tool, by way of the Discussion Tools beta feature or in the regular preferences section, they should not automatically have access to the New Discussion Tool once it is made available.
- 5. For people at wikis wher ethe Reply Tool is currently available as an opt-out feature and who have never changed any settings related to the Reply Tool, they should not automatically have access to the New Discussion Tool once it is made available.
Notes
To account for cases where some of the "Features" [i] are available as opt out and others still as Beta Features we'll need to implement a separate flag each time one feature is "graduated" from Beta Features to being enabled for everyone on a wiki, by default.
Done
- The behavior described in the "Behavior" section is implemented
- All "Requirements" are met
i. E.g. Reply Tool, New Discussion Tool, and Visual enhancements.