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 reply links are not added on pages they should not be.
=== Approaches
//Below are some approaches we could take to prevent the reply link from being added.//
**Feature-specific exclusion**
- Reply links would **not** appear on pages that contain a magic word, like `__NOREPLYLINKS__`
**Content purpose declaration**
- Provide `__ARCHIVEDTALK__` and let any software decide which behaviour is appropriate on this page (hiding rely links)
**Exclusions within certain sections**
- See T295553
~~**Content-specific inclusion list**~~
- ~~Reply links would **only** be appended to comments at a new level of indentation ~~
=== References
**Use Cases**
- **de.wiki, en.wiki and others**
-- All archived discussions
--- https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(proposals)/Archive_190#RfC:_Bot_to_blank_old_IP_talkpages
--- https://de.wikipedia.org/wiki/Diskussion:Ägyptisch-Hethitischer_Friedensvertrag/Archiv
--- https://en.wikipedia.org/wiki/Wikipedia_talk:Talk_pages_project/Archive_1
--- https://en.wikipedia.org/wiki/Talk:NASCAR/Archive_3
--- https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)/Archive_195
-- Votes until they’re properly supported
--- https://commons.wikimedia.org/wiki/Commons:Quality_images_candidates
-- Articles for deletion. //E.g. [en:Wikipedia:Articles for deletion/Spiral Universe](https://en.wikipedia.org/wiki/Wikipedia:Articles_for_deletion/Spiral_Universe) via @Ed6767 //
**Discussions**
- "Reply link in Archives" discussion at [en:WP:Talk Pages Project](https://en.wikipedia.org/wiki/Wikipedia_talk:Talk_pages_project#Reply_link_in_Archives)
=== Open questions
- [x] What do we estimate to be the rate of pages that contain `__NONEWSECTIONLINK__` syntax //and// do not contain discussions?
-- Per T249293#6889884, pages which transclude discussions often use `__NONEWSECTIONLINK__` to prevent sections discussions being added directly to the page, but still contain many transcluded discussions that can be replied to.
- [ ] Should topic subscriptions be disabled when the reply link is disabled?
===Conditions
//TBD//
=== Done
- [ ] Defined a set of conditions, that if met, will prevent reply links from being shown
- [ ] Implement "Conditions"