Considering that it isn't immediately obvious that we can fix link only answers by extracting the relevant information from links, and Shog's effort to make anyone aware of this option in meta I feel that his efforts are not enough. I propose a JIT message appended (lets call it flag tips?) to a answer flagged as not an answer that:
- Has score +10 and
- More than the 80% of the content is within the <a> element or
- It's less than 50 characters long without counting the <a> element
- ???
- Profit?
Obviously, the conditions are kind of simplistic. I was thinking of taking into account the score of other answers, to help on those cases where there's a answer that references the same document making the new answer redundant.
The message should promote the extraction of the relevant content of the off site, with a link to the editor, maybe with a boilerplate?
A proof of concept that manage the logic:
let flagform = document.querySelector("div#popup-flag-post")
let answerflag = document.getElementById("answer-" + flagform.dataset['postid'])
let votecount = answerflag.getElementsByClassName("vote-count-post")[0].textContent
if (actionselected.getElementsByTagName("input")[0].value ===
"AnswerNotAnAnswer" &&
votecount > 10) {
flagform.getElementsByClassName("popup-actions").append(flagtips)
}
It lacks a observer, to watch when the flag modal appears, and the message.