T245890 enables people to use #discussiontools on pages outside of the talk namespaces.
This task is about refining the initial approach described in T245890 to ensure DiscussionTools are not being enabled on pages they should not be.
=== Approaches
//Below are some approaches we could take to prevent DiscussionTools from being enabled on pages where these tools could cause more harm than good.//
**Page-specific exclusion list**
- DiscussionTools would **not** appear on pages that contain a magic word, like `__NONEWSECTIONLINK__`
**Content-specific exclusion list**
- Reply links would **not** be appended to comments that are wrapped in certain tags/DOM nodes (e.g. `<blockquote>`~~~~`</blockquote>`)
~~**Content-specific inclusion list**~~
- ~~Reply links would **only** be appended to comments at a new level of indentation ~~
=== Use cases
- **cs.wiki**
-- AfD discussions
--- E.g. https://cs.wikipedia.org/wiki/Wikipedie:Diskuse_o_smaz%C3%A1n%C3%AD/Hana_Krampolov%C3%A1, as noted by @Urbanecm in T260066.
- **fi.wiki**
-- Partially archived pages (read: pages that contain at least one section that has been archived using the [ArkistoituOsa](https://fi.wikipedia.org/wiki/Malline:Arkistoitu_osa) template)
--- E.g. https://fi.wikipedia.org/wiki/Keskustelu:Havaiji via @Zache in T249293#6652526
-- Votes
--- E.g.: https://fi.wikipedia.org/wiki/Wikipedia:Poisto%C3%A4%C3%A4nestykset/Lydia_Yl%C3%B6stalo as noted by @Zache in T265446#6582035
- **hu.wiki**
-- WikiProject member lists
--- E.g. https://w.wiki/orH via @Samat in T249293#6654315
- **meta.wiki**
-- Attendance planning
--- E.g. https://w.wiki/orG as noted by @gh87 in [Topic:Vwp4f1xvzrco195p](https://www.mediawiki.org/wiki/Topic:Vwp4f1xvzrco195p)
=== Open questions
- [ ] What do we estimate to be the rate of pages that contain `__NONEWSECTIONLINK__`syntax //and// do not contain discussions?
===Conditions
//TBD//
=== Done
- [ ] Defined a set of conditions, that if met, will prevent #discussiontools from being enabled
- [ ] Implement "Conditions"