33

I was looking at this question: What is meant with "const" at end of function declaration?... and there is a blue box indicating where there are already answers but after the colon it is just a timestamp followed by some people.

Then a yellow box shows a "possible" duplicate. Something's off about all this. I think it's a bug, result of an update, I'm not sure what to make of it exactly so I thought I would share my experience here.

enter image description here

1

1 Answer 1

31

That is an old question, closed as a duplicate back before the current system was in place. Back then, all that happened is that the Community user (a bot with moderator privileges) edited in the "possible duplicate" banner to the question's actual text. It wasn't tracked as an actual duplicate, and it was vulnerable to being inadvertently (or intentionally) removed by subsequent editors.

This left an even more noticeable gap when the new notification system rolled out, which changed the color and positioning of the banners. There was no field in the database referencing the purported duplicate, so there's nothing for the notification banner to link to.

This has been noted before, but there's no good way of automatically correcting these—mass editing of a bunch of questions always makes me nervous, and, as I mentioned above, that "possible duplicate of" banner may not have survived intact over the years. Instead, we just correct them manually by re-opening and closing as a duplicate of the same post. Any gold badge holder can do this with a single vote and a minimum of fuss, as can a diamond moderator.

I've addressed the problem in this case; you should now be seeing the correct notification banner. If you come across additional anomalous questions, please raise a moderator flag or ping a gold badge holder in chat (if you're a regular anywhere where they hang out).

19
  • 1
    Should one flag such a post for moderator attention?
    – leonheess
    Commented Jan 21, 2020 at 12:36
  • 6
    @leonheess I firmly believe so, yes. However, Martijn's instincts apparently told him something different. That's bound to happen when you have humans as moderators; we're not all created equal. We are discussing it internally, and will let you know what the conclusion is. Sorry for the confusion that this created.
    – Cody Gray Mod
    Commented Jan 21, 2020 at 19:43
  • 6
    @CodyGray: So what was the result of the discussion? Should normal users flag such questions for moderator or not?
    – Amit Joshi
    Commented Mar 2, 2020 at 10:50
  • 1
    The internal discussion didn't exactly reach a conclusion, @Amit. Some other things interrupted. I still say "yes".
    – Cody Gray Mod
    Commented May 6, 2020 at 2:30
  • Wouldn't it be possible to write a script that goes through the Community user's edit history, finds edits with the edit summary "insert duplicate link", check the page that the link inserted in that edit points to and insert that link into the database? Commented Jun 25, 2020 at 22:07
  • @DonaldDuck Perhaps. You volunteer to write the script, I'll volunteer to help fix them.
    – Cody Gray Mod
    Commented Jun 25, 2020 at 23:53
  • 1
    @CodyGray I tried starting to write a query in the data explorer to find those posts, and I noticed that there is actually a field in the database referencing the duplicate despite what you say in your answer. For example this question has the problem mentioned in this question, yet if you run this query you will see that both that question's ID and the original's ID are present. Commented Jun 26, 2020 at 0:38
  • By the way (this has nothing to do with the topic discussed here) I think it's weird that the asker of the question I mentioned in my previous comment has a user ID greater than the post ID of the question (1130097 > 18584). Wouldn't that mean that at the time that question was posted the site had more users than posts? Commented Jun 26, 2020 at 0:42
  • @DonaldDuck For the unrelated question, user 1548 was merged into user 1130097 many years ago, so presumably they asked the question under account 1548. On the other topic, I'm not sure the details of how this is stored in the database. I'm not a Stack Exchange developer, so those details are only based on what I've heard. If the information is there but not being used, then that's a Stack Exchange bug, and the developers should be able to re-sync their database fields. It wouldn't solve the manually added "possible duplicate" banner, though; those would need to be manually edited out.
    – Cody Gray Mod
    Commented Jun 26, 2020 at 0:59
  • @CodyGray Should I post that as a bug report in a new question then? Commented Jun 26, 2020 at 1:03
  • @DonaldDuck I suppose so. This has been brought up before, twice that I know of. Maybe more times on MSE. And on MSO, see history here, which is consistent with what you've found, but shows that we can't solve the problem automatically for posts older than May 20, 2009. I would swear that what you're saying has been brought up specifically as a bug, but I can't remember if it was on MSE or MSO, and I can't find it at the moment.
    – Cody Gray Mod
    Commented Jun 26, 2020 at 1:20
  • @CodyGray OK, I posted a new bug report here. Commented Jun 26, 2020 at 14:46
  • 1
    @leonheess No, definitely do not go through and flag all such posts. If moderators, or SE, wanted to do the work of fixing all of these, then it would be fairly trivial to find all such posts with just a search and a lot less work than having to handle a boatload of flags telling us about something that it's trivial for us to find. In addition, as is mentioned above, fixing the closure to point to the correct duplicate is really something that could be and should be done by SE, which would preserve the notice showing who closed it and when.
    – Makyen Mod
    Commented Aug 1 at 14:01
  • 1
    @leonheess Please note that what I'm saying is: don't go looking for them to flag them. If you happen to come across one in normal browsing, that's a different situation. I don't object to flagging such single questions in that situation. What I'm saying is don't go looking for them in order to flag them.
    – Makyen Mod
    Commented Aug 1 at 15:44
  • 1
    For the record, I agree with what Makyen said. Don't go looking for them just to raise flags, but if you come across one in your normal usage of the site, then feel free to flag it.
    – Cody Gray Mod
    Commented Aug 17 at 1:12

You must log in to answer this question.

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