19

The community consensus is that answers that are edited in questions should be rolled back, and placed into a community wiki answer.

I'm asking about closed questions. I'm sure in this case the answer-in-question should be edited out, too. But answers can't be added to closed questions. Knowing this, what should I do?

  • Just edit it out and do nothing else. Since the question is closed, the roomba should take care of it anyway (Doesn't really apply to duplicates or questions that have other, unnaccepted but upvoted answers);
  • If closed as a duplicate, add the community wiki answer to the duplicate target (May work, or may not: The answer may be too specific for the duplicate target);
  • Leave it there. Again, the roomba will take care of it anyway;
  • Some other option I didn't think about.
12
  • 15
    If the question is closed, you should see if it is worth reopening first. Otherwise separately adding OP's answer is moot
    – Suraj Rao
    Dec 9, 2018 at 13:36
  • 10
    @SurajRao Good point. The problem is that many questions die with 3 or 4 reopen votes. As an anecdotal example, the question that inspired me to ask this here has 3 reopen votes (One of those is mine) for quite some time now. Dec 9, 2018 at 13:49
  • 3
    The question got closed for a reason. That reason probabbly did not go away just because the OP found an answer.
    – Jongware
    Dec 9, 2018 at 15:20
  • 2
    @usr2564301 I don't see your point. You mean I shouldn't bother editing it (to rollback the answer) at all? Dec 9, 2018 at 15:37
  • No, such a question may not need re-opening. Suppose it was "How do I do X?" and got closed for being too broad. Now the OP adds an answer into the question. Then, after removing the answer, it's still too broad! My personal opinion is then to let it be. Such questions usually get automatically deleted after a while.
    – Jongware
    Dec 9, 2018 at 15:42
  • 3
    The one you are (probably) referring to is a good example. It has been closed as a duplicate; having an answer on its own still must make it a duplicate. Unless the OP provides sufficient evidence it is not – and I don't see anything like that. Personally I cannot vouch for the correctness of that "duplicate" statement. Are you sure it isn't one?
    – Jongware
    Dec 9, 2018 at 15:47
  • 6
    @usr2564301 Oh, I see what you meant by that comment. I never said any question would warrant a reopening by the mere fact the OP found an answer. I'm considering something close to this scenario: 1) A question is closed; 2) The OP edits it into a Good Question (TM); 3) It gets some reopen votes, but never gets actually reopened; 4) The OP finds an answer, and, out of frustration since he can't post it, edits the question instead. Dec 9, 2018 at 16:34
  • 2
    Also note that I'm trying to make this discussion be not about any specific question, but instead on what I should do if I encounter this scenario in the future. This is why I avoided linking to the question you mention (or any other question, for that matter). It's up to the community if it should be reopened or not; I already gave my vote on the matter. Dec 9, 2018 at 16:36
  • 6
    One thing to note--if the question isn't good but the answer is, look for a duplicate (or near-duplicate) question that may already have ok but not great answers and add your answer to that, making sure it properly addresses the issue in the question there. I think one reason we get duplicate questions is that the answers they find aren't clear enough for them to understand that it addresses their issue.
    – rsjaffe
    Dec 9, 2018 at 17:20
  • 1
    1) OP or community have to fix question. 2) If question is not fixed see (1).
    – Sinatr
    Dec 10, 2018 at 14:48
  • 1
    roomba only works if question has negative or 0 score, with special case for duplicates, where the question stays even with 0 score. Dec 10, 2018 at 14:52
  • 1
    @rsjaffe This feels like a nice alternative, but I worry that we tend to use canonical duplicate targets a lot, and those seem to commonly be already burdened with too many answers. I also worry that if I find another question with the requirements you describe, I, as a 3.5k user with no gold badges, don't really have the power to add it as a new duplicate target to the original question. And just adding the community wiki answer to a random question without any sort of official linking (such as the "this question already has an answer here" message) seems... odd. Dec 10, 2018 at 16:22

1 Answer 1

12

You're right, the answer should be edited out of the question. Answers belong in answers, not in questions.

As for what to do next, if the question is closed, you have several options:

1. Vote to reopen.

If you feel that the question deserves to be here and to be answered (i.e. it is on-topic, answerable and not a duplicate), then you should vote to reopen it.

Unfortunately, as you've observed, reopen review is kinda broken, with even seemingly obvious cases (like, say, an on-topic question closed as a duplicate of a deleted question) having a pretty low success rate of getting reopened. I've complained about this before, but as long as the queue keeps being flooded with auto-flagged questions that clearly should stay closed, I doubt it will improve.

The work-around is to find some other place with less jaded people that you can ask to take a look at the question. The SOCVR chat room is one such place. (Yes, compared to the reopen queue, it really is!) Meta can be another, as you may have noticed; right now, the question linked from the comments above is one vote away from being reopened.

Of course, neither SOCVR nor meta are any kind of magic cheat codes to bypass review entirely — they just get the question reviewed by a different set of people, hopefully with a more discerning eye. In some cases it might turn out that those people still think the question doesn't deserve to be reopened, in which case they'll probably tell you so, in detail. But at least you'll get some useful feedback, rather than just a list of users who may or may not have glanced at the question before clicking "Leave Closed".

BTW, if you think that the question could be good and on-topic, but is not necessarily so yet, then edit it into shape first before proposing to reopen it! I really can't stress that too much. People will review the question based on what it is, not what it could be, and a poorly written half-off-topic question is unlikely to get reopened even if there's a good question buried inside it.

2. Answer the duplicate instead.

Of course, this only applies if the question is closed as a duplicate (unless you can get it reopened and re-closed, which takes a lot of effort for usually little gain).

The tricky part here is that the answer to this specific closed question may not actually be a good answer to the duplicate, at least not without a considerable amount of editing. Sometimes all it takes is changing a few variable names to match, but sometimes the closed question (and its answer) might be significantly narrower than the duplicate, or perhaps asking about the same problem using completely different terminology. Maybe the duplicate is a general question about doing X in Y, while the closed question is about doing Q (another name for X) in Y in the context of doing Z.

If you feel like spending the effort of editing the answer to make it fit, one potentially useful "framing device" can be to briefly summarize the closed question at the top of the answer (and maybe link to it, for context), something like:

"For the specific problem of doing X (a.k.a. Q) with Y while also doing Z, as in [this duplicate question](link), a good solution is to..."

or:

"The need to do X (a.k.a. Q) with Y often arises in the context of Z, as in [this duplicate question](link). In such cases, one can..."

or:

"To illustrate how to do X with Y, let's say you're doing Z and want to do Q, as in [this duplicate question](link)..."

Of course, even with such a framing device, you still need to ensure that the framed answer really is a useful answer to the question you're posting it under. If you can't make it so, that could be evidence that maybe the questions aren't truly duplicates after all, if there is a good answer to one of them that doesn't answer the other. You may want to explicitly point that fact out when proposing to reopen.

3. Find a better duplicate (and maybe answer it).

Sometimes, you might discover that the question is an exact duplicate, but not really of the question which it was closed as a duplicate of. In such cases, it may be useful to note that gold badge holders (and moderators) can edit duplicate links without having to reopen and re-close the question. If you don't happen to have a gold badge in any of the question's tags yourself, you could:

  • ask e.g. on SOCVR if there happen to be any gold badge holders around,
  • flag the question for moderator attention and ask them to change the dupe target, or
  • if the question was originally closed by a gold badge holder (alone), @ping them in the comments (yes, this does work!) and ask them to edit the link.

Of course, if all else fails, you could also just post a comment linking to the better duplicate question yourself. It may not get listed in the box at the top of the question, but at least the link will be there in the comments if anyone bothers to look for it.

4. Just let it be.

Sometimes, it might be that there is no good place for the answer. Maybe the (new) duplicate already has an essentially equivalent answer, or maybe the answer is so tangled up with the OP's code and their specific needs that generalizing it to be useful to a wider audience would require a complete rewrite. Or maybe the answer is just wrong, or the question it answers is off-topic. In such cases, the best solution may be to just edit the answer out and not repost it anywhere.

You may also consider voting to delete the question itself, or at least downvoting it to make it eligible for auto-deletion. Note that SO currently has no delete vote review queue (all we have is the crappy old 10k tools page), so random single delete votes on old questions are even less likely than reopen votes to actually achieve anything. Again, SOCVR is your friend here.

1
  • 5
    But please, don't post all your delete votes on SOCVR: the chat group isn't meant to be a clone of the crappy 10k lists.
    – Cœur
    Dec 11, 2018 at 3:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .