Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Comments on Proposal and design for temporary blocking of new user links (anti-spam)

Post

Proposal and design for temporary blocking of new user links (anti-spam)

+1
−2

Discussion on Introduce a spam reaction? brought up the idea of preventing new users from posting links, so as to create an additional hurdle for spammers (who will rarely make any serious attempt to integrate themselves into a community before spamming).

This of course has the drawback that questions, even from new users, will often benefit from external links to documentation etc., and it would be better not to put a limit on the potential quality of questions from people who are just starting to ask questions and need the most onboarding. The idea is also somewhat vague, because it doesn't really take into account the fact that posts are Markdown. That is: what should happen if the user types the Markdown code for a link anyway?

My proposal is to keep Markdown text for links in posts by new users, but conditionally render it in a way that disables the link. Established users (perhaps this could be tied to the "Participate Everywhere" ability - though this implies the feature is ineffective in New Site Mode, I think?) can then approve the link by trivially editing the post.

In detail:

  • When a post was authored by a new user and the post has not ever been edited by anyone else, render links by ignoring the URL portion and putting the link text inside a custom CSS span. It should use background shading and before: to signal that the text represents a disabled link - so Markdown like [cool link](https://example.com)

     

    would produce an inline span that looks something like Disabled link: cool link

    (but without padding that overlaps other lines of text).

  • Otherwise, render the link normally: cool link.

  • New users who attempt to edit their own posts should be advised of the feature and given a link to appropriate help documentation - something like:

    Please note that someone else must edit your post to "approve" links before they will function in your post. After [conditions], you will be able to post links normally, and even approve them for other new users. Learn more here.

  • Similarly, when someone would make or approve an edit that would enable disabled links, the editing form should have a warning at the top that this will happen, and link the same documentation - something like:

    Warning! This post contains one or more Markdown links from a new user, which have been temporarily disabled. Editing the post will enable the links. Please carefully review this post before [submitting|approving] an edit, to make sure the links are not spam or otherwise malicious. Learn more here.

  • For bonus marks: hovering over a disabled link span should produce a tooltip that briefly describes the system and offers the documentation link - something like:

    Links posted by new users are initially disabled to help protect Codidact from spam. Learn more here.

  • This could be further refined by making links work normally when they link to elsewhere on Codidact, even when posted by a new user.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

2 comment threads

Has there been much spams recently? Otherwise why would this be necessary yet? (1 comment)
Evasion? (2 comments)
Evasion?
matthewsnyder‭ wrote 8 months ago

What would be the solution if people just link-break by inserting whitespace or omitting some obvious parts of the URL? Or is that okay for new users?

Karl Knechtel‭ wrote 8 months ago

This proposal is specifically about Markdown links. I didn't consider that URLs normally auto-link; deliberate link-breaking is certainly out of scope for what I imagined. The goal is to prevent generating actual links that either people might click on or that could affect SEO for the destination page - i.e., the things spammers care about.