Sometimes I can see questions which contains links and text within the link only,like this:
And I think link-only questions are almost surely not following the rules. Can we have a filter to avoid those type of questions submitting?
Sometimes I can see questions which contains links and text within the link only,like this:
And I think link-only questions are almost surely not following the rules. Can we have a filter to avoid those type of questions submitting?
We can... I mean, we kinda already do; the same one we use for answers:
Links are stripped prior to the length check, so if you don't have at least 30 characters worth of actual visible text then you'll be blocked. Now, 30 characters is a pitiful amount of text to require IMHO, but... That's a separate issue.
Now, this doesn't prevent you from writing a long-enough post and them making the whole thing into a link, but then again nothing stops you from making your entire post bold either, apart from the fact that both will likely be deleted in short order.
A quick check suggests there've only been 500-600 questions like this posted during the last year, with a bit over 80% deleted. Arguably then, this is just a way for askers to quickly let everyone know that they should just go straight for the close or downvote buttons.
I checked the logs for the person whose question you used as an example, btw: he actually made several attempts to post the code in the question prior to resorting to a link... But ran face-first into the check that requires at least a nominal amount of explanatory text with the code. This suggests that blocking the link too would've likely just resulted in yet another work-around.
Please read this link: http://www.example.com. My question is there.
This is what you can expect to happen from such a filter.