T249293 is about hiding reply links on the entire page, this task is about hiding reply links in specific sections.
There are two categories of things we want to hide reply links one:
- Things that are comments, but we don't want people to reply to any more (e.g. closed/archived discussion)
- Things have signatures but aren't comments (e.g. vote/participation lists)
These should be dealt with slightly differently as in (1) we still want to comment parser to detect them, e.g. for permalinking or computing thread metadata (# of comments in a thread). In (2) we don't want the parser to recognise the comments at all.
Approaches
- Define wrapper classes for (1) and (2) which result in reply links being suppressed / signatures being skipped.
Use cases
- cs.wiki
- AfD discussions (type 1)
- en.wiki
- Automatic archive navigator (type 1)
- fi.wiki
- Partially archived pages (read: pages that contain at least one section that has been archived using the ArkistoituOsa template) (type 1)
- Votes (type 2)
- frwiki
- Deletion discussions have threaded discussion in one section, and votes in another (example)
- hu.wiki
- WikiProject member lists (type 2)
- E.g. https://w.wiki/orH via @Samat in T249293#6654315
- Speedy deletion template {{Azonnal törlendő}} (type 2)
- WikiProject member lists (type 2)
- hu.wikisource
- Source text metadata {{Szöveginfó}} (type 2; it shouldn’t contain a timestamp according to the documentation, but sometimes it does; would cause a lot of noise if the tracking category proposed in T324139 was enabled)
- meta.wiki
- Attendance planning (type 2)
- E.g. https://w.wiki/orG as noted by @gh87 in Topic:Vwp4f1xvzrco195p
- Community wishlist survery
- https://meta.wikimedia.org/wiki/Community_Wishlist_Survey_2022/Editing
- Proposals are signed in the "Proposer:" section, but that signature does not indicate the text preceding it is a comment.
- It is currently being hidden with a CSS hack: https://meta.wikimedia.org/wiki/Template:Community_Wishlist_Survey/styles.css#L-185
- Attendance planning (type 2)