This is how it played out
- Answer is mod flagged for plagiarism. A mod deletes it
- User makes edits adding more links
- User flags for undeletion and the same mod catches the flag and undeletes
Looking at the whole context, it's clear the user had a link originally and the edits didn't actually fix that. The user clearly thought they had, because they raised a flag to that effect.
Why did a mod think that it was fixed? There's two things that probably played into this
- Most plagiarism doesn't consist of any mentions of the original material in the first revision
- Most users don't attempt to fix their post and flag for undeletion
As such, a cursory scan in the mod console would show a post with an attribution link to the material. It wouldn't tell us that link existed originally. It's an easy mistake to make here.
What would have made it clearer for everyone would have been skipping the plagiarism angle in the original flag. As a commenter noted above
He gives proper reference to the original poster, so it's not plagiarism. An answer that shouldn't've been posted in the first place, for sure - but not plagiarism. Guess this is the sort of situation delete votes are for.
It's attempting to answer the current question with an answer from another question (in other words they managed to avoid posting a link-only answer). Because of the flag, Mods reached out to this user about plagiarism, which they (to their credit) tried to fix, despite the fact that the answer was unsalvagable because the question was a duplicate (something the user should probably have explained to them).
I would still mod flag, but explain that they had merely referenced the answer from the duplicate rather than writing a new answer. That should still get it deleted, if this happens again.