# Add a "merge multiple responses" admin post selection action

**URL:** https://meta.discourse.org/t/add-a-merge-multiple-responses-admin-post-selection-action/14904
**Category:** Feature
**Tags:** rfc, spec
**Created:** [April 20, 2014, 7:05am UTC](https://meta.discourse.org/t/add-a-merge-multiple-responses-admin-post-selection-action/14904 "2014-04-20T07:05:28Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [April 20, 2014, 7:05am UTC](https://meta.discourse.org/t/add-a-merge-multiple-responses-admin-post-selection-action/14904/1 "2014-04-20T07:05:28Z")

</div>

For users that insist on posting multiple sequential replies, especially short ones, it would be nice to have a “merge posts” option appear when you use the admin wrench to begin selecting posts in a topic, and then **select a few posts by the same user in sequence:**

 ![](https://global.discourse-cdn.com/meta/original/2X/1/1f7f9bf4fea41356466e4f51ce57236d36e0a928.png) 

This does make it somewhat ambiguous what happens when 3 different replies “directed” at 3 different users are combined. Not sure exactly how to handle that, but for now I would just remove any explicit replies as part of the combining and come up with some kind of improvement later.

---

<div class="post-metadata">

### Author: ![BhaelOchon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bhaelochon/32/191311_2.png) [@BhaelOchon](https://meta.discourse.org/u/BhaelOchon)
#### Post date: [April 20, 2014, 1:39pm UTC](https://meta.discourse.org/t/add-a-merge-multiple-responses-admin-post-selection-action/14904/2 "2014-04-20T13:39:46Z")

</div>

Perhaps check to see whether the reply starts with a quote from the topic being replied to. If not, insert a one-box of that topic above the reply text. It would look something like the following

* * *

Guppy rape is a crime of violence, not sex. For the females.

> fuzzyfungus said  
> Something about guppies…

Guppies are not concerned with justice.

> AshleyYakeley said  
> Something about guppies…

well, not “bluntly”

> roseredshift said  
> Something about guppies…

Evolution gave them barbs. They didn’t ask to be rapists. Their dads made them that way.

---

<div class="post-metadata">

### Author: ![lightyear](https://avatars.discourse-cdn.com/v4/letter/l/848f3c/32.png) [@lightyear](https://meta.discourse.org/u/lightyear)
#### Post date: [April 20, 2014, 2:27pm UTC](https://meta.discourse.org/t/add-a-merge-multiple-responses-admin-post-selection-action/14904/3 "2014-04-20T14:27:07Z")

</div>

> [@codinghorror](#):
>
> This does make it somewhat ambiguous what happens when 3 different replies “directed” at 3 different users are combined.

Would that be something we should encourage Admins/Mods to do? In a first version I’d simply block when you want to combine explicit replies. In a second step I’d then vote for prompting the admin what should happen: Select one it should reply to or drop reply in total.

Automatic Quotes are another option but I feel this will go wrong too often…

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [April 20, 2014, 5:48pm UTC](https://meta.discourse.org/t/add-a-merge-multiple-responses-admin-post-selection-action/14904/4 "2014-04-20T17:48:17Z")

</div>

I do not have a high opinion of the pictured replies, so the admin / mod should be able to do as they see fit for the betterment of the site.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [December 10, 2015, 4:24am UTC](https://meta.discourse.org/t/add-a-merge-multiple-responses-admin-post-selection-action/14904/5 "2015-12-10T04:24:16Z")

</div>

I know I am reviving an almost 2 year old topic, but…

Is this in the pipeline for Core at this point? The current way we accomplish this (more with new users who want to post more than one link/image for a support request) is to copy and paste between posts and then delete them. Would be very nice to have an automated option!

---

<div class="post-metadata">

### Author: ![meglio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/meglio/32/71444_2.png) [@meglio](https://meta.discourse.org/u/meglio)
#### Post date: [December 21, 2015, 2:50pm UTC](https://meta.discourse.org/t/add-a-merge-multiple-responses-admin-post-selection-action/14904/6 "2015-12-21T14:50:37Z")

</div>

I too would need such a button. My use-case is described in details here:

> [@"Join messages" button for admin](https://meta.discourse.org/t/join-messages-button-for-admin/36960):
>
> I noticed some users put a lot of small messages in a row in the same topic. I suspect different possible reasons: Some don’t understand that there might be multiple “quoted replies” in a single message Others just write messages bit by bit and feel better like this Others put one photo at a time and submit it (maybe after experiencing problems with really slow mobile connection?) Anyway, it would be useful if mods were able to select a few messages, then click the wrench button, and then ch…

---

<div class="post-metadata">

### Author: ![adrapereira](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/adrapereira/32/51755_2.png) [@adrapereira](https://meta.discourse.org/u/adrapereira)
#### Post date: [March 22, 2016, 10:32pm UTC](https://meta.discourse.org/t/add-a-merge-multiple-responses-admin-post-selection-action/14904/7 "2016-03-22T22:32:36Z")

</div>

I’m currently implementing this feature and so far I merge the content of all the posts and set the content of the last reply with that content, setting the others as deleted.

### Example:

Post 1:

> This is the first post

Post 2:

> This is the second post

Post 3:

> This is the third post

After the **merge** , Post 1 and Post 2 are set as deleted and Post 3 has the following content:

> This is the first post
> 
> This is the second post

> This is the third post

Does anyone have other suggestions about the way the merge is done? And what about when the posts are replies to other posts, how should we build the merged post in a way that shows that information?

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [March 23, 2016, 7:23pm UTC](https://meta.discourse.org/t/add-a-merge-multiple-responses-admin-post-selection-action/14904/8 "2016-03-23T19:23:15Z")

</div>

Very nice, your approach seems good.

> [@adrapereira](#):
>
> And what about when the posts are replies to other posts, how should we build the merged post in a way that shows that information?

I think that’ll just have to be left up to the moderator to not mess up. The primary use of this feature is for those cases when someone has posted two replies in quick succession that could just as well be the same post.

---

<div class="post-metadata">

### Author: ![adrapereira](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/adrapereira/32/51755_2.png) [@adrapereira](https://meta.discourse.org/u/adrapereira)
#### Post date: [March 23, 2016, 10:55pm UTC](https://meta.discourse.org/t/add-a-merge-multiple-responses-admin-post-selection-action/14904/9 "2016-03-23T22:55:07Z")

</div>

I’ve made a [Pull Request](https://github.com/discourse/discourse/pull/4112) to add this feature. 🙂

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [April 1, 2016, 5:49am UTC](https://meta.discourse.org/t/add-a-merge-multiple-responses-admin-post-selection-action/14904/11 "2016-04-01T05:49:11Z")

</div>

We could add a maximum sequential reply limit. It would be harsh though.

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [April 1, 2016, 6:28am UTC](https://meta.discourse.org/t/add-a-merge-multiple-responses-admin-post-selection-action/14904/12 "2016-04-01T06:28:42Z")

</div>

There is

> sequential replies threshold (default 2)  
> Number of posts a user has to make in a row in a topic before being reminded about too many sequential replies.

My guess is most just close the reminder without giving it much thought let alone reading it.

I think for some it’s because they don’t know how to edit a post.  
And I guess it would depend on how soon the edit time window is, so maybe for some it’s simply they come back too late and feel compelled to add more to the topic.  
At SitePoint the edit pencil icon isn’t hidden behind the ellipsis so I don’t know what more could be done short of personalized education when it’s certain that’s what the issue is.

We’ve had one or two members that do it routinely despite having been explicitly asked to not do it. Rather than quote and respond to the previous _n_ replies in one post, they do so in _n_ number of individual new posts instead.  
Annoying, but not really crossing the line into needing disciplinary action IMHO.

> [@codinghorror](#):
>
> a maximum sequential reply limit. It would be harsh though.

Yes, it could be. Unless there was a warning similar to the “almost out of Likes for the day” it would catch some by surprise if it just caught them unawares.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [May 18, 2016, 12:52pm UTC](https://meta.discourse.org/t/add-a-merge-multiple-responses-admin-post-selection-action/14904/13 "2016-05-18T12:52:50Z")

</div>

What if the previous post were to open up for editing instead of opening a new post, when a user selects reply and the last post in the topic is from them? With a popup message explaining why?

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [July 27, 2016, 4:48am UTC](https://meta.discourse.org/t/add-a-merge-multiple-responses-admin-post-selection-action/14904/14 "2016-07-27T04:48:45Z")

</div>

Just merged in @adrapereira’s PR

[https://github.com/discourse/discourse/commit/8cbd585e200131dff440cc9be4edb7646946523a](https://github.com/discourse/discourse/commit/8cbd585e200131dff440cc9be4edb7646946523a)

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [August 5, 2016, 9:24am UTC](https://meta.discourse.org/t/add-a-merge-multiple-responses-admin-post-selection-action/14904/15 "2016-08-05T09:24:17Z")

</div>


