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.
Propsal
⚠️ This sections contains what the Editing Team is proposing we implement to empower volunteers to prevent [ reply ] links from appearing in two cases: A) Talk pages and sections within talk pages that contain closed/archived discussions and B) Talk pages and sections that contain signatures and do NOT contain discussions ⚠️
Proposal: https://www.mediawiki.org/wiki/User:ESanders_(WMF)/sandbox/notalk
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:%C3%84gyptisch-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
- Articles for deletion. E.g. en:Wikipedia:Articles for deletion/Spiral Universe via @Ed6767
- All archived discussions
Discussions
- "Reply link in Archives" discussion at en:WP:Talk Pages Project
Open questions
- 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"