Page MenuHomePhabricator

Add archiving functionality to DiscussionTools
Open, Needs TriagePublic

Description

It would be nice if DiscussionTools supported moving top-level talk page sections to an archive. There are bots for this, but they are an overhead to set up and understand, and they usually involve some waiting time. It would be nice if there was just an "archive this section" button.

DiscussionTools already identifies the wikitext corresponding to each section (and identifying top-level sections in wikitext generally isn't too hard anyway - yes you can have transcluded sections and sections that cross DOM boundaries, in that case it could just refuse to work), it should be relatively straightforward to just remove the section, add it to the end of the archive page, and attribute the edits to the user. The archive page could be identified via a parser function.

References