or am I missing something?

Well, you are missing that there is some form of duplicate checking already in place. I haven't reviewed the code responsible but a little experimentation shows you can't submit the same node contents with the same node title twice.

This means that the duplicates are not really duplicates at all. Which makes trapping them a lot harder. Perhaps some kind of normalizing could be applied so that a nearly dupes caught and a warning with override generated. Something like striping out non alpha numerics and space, lowercase the lot might work, I think that whatever technique used probably needs to be pretty fast though. So long as the user could still force the submission through a fuzzy matcher wouldn't be that bad.

However even that isn't going to stop either dupes that I did recently. In one I didn't relaize I had hit submit then back and added a paragraph and then submit again. The other was when I did the same but changed the title. How do you stop that happening accidentally when it is quite possible that someone could post the same node in two different threads?

Ultimately I think PM already has simple dupe blocking, and the utility of making it noticibly smarter is outweighed by diminishing returns. Doesn't mean I wont have a nosey around the source when I next get a chance, but you can see my point. :-)

---
demerphq



In reply to Re: Double double Post post by demerphq
in thread Double double Post post by dws

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.