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](https://www.mediawiki.org/wiki/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
- They are logged in
- They are on a wiki where the New Discussion Tool is available as an opt-out feature //or// as a Beta Feature
1. Visit `Special:Preferences#mw-prefsection-editing`
2. 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".//
3. Notice a setting titled `Enable quick topic adding`
4. Notice a description beneath the `Enable quick topic adding` setting that reads: `This will show you an in line form, equipped with a Visual mode, 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
- [ ] This new setting should appear in `Special:Preferences#mw-prefsection-editing` within a new section called `Talk pages` //beneath// the existing `Enable quick replying` setting. [i][ii]
- [ ] 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, equipped with a Visual mode, 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].`
- [ ] When the radio button 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.
- [ ] When the radio button 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 separate page.
- [ ] 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](https://www.mediawiki.org/wiki/Beta_Features)//
- [ ] The `Enable quick topic adding` setting should appear in `Special:Preferences#mw-prefsection-editing` whenever the `Discussion tools` Beta Feature is enabled.
=== Done
- [ ] The behavior described in the "Behavior" section is implemented
- [ ] All "Requirements" are met