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 »

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.

Review Suggested Edit

You can't approve or reject suggested edits because you haven't yet earned the Edit Posts ability.

Approved.
This suggested edit was approved and applied to the post 5 months ago by Monica Cellio‭.

58 / 255
Proposal and design for temporary blocking of new user links (anti-spam)
Discussion on [Introduce a spam reaction?](https://meta.codidact.com/posts/291174) 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)`

    &nbsp;

    would produce an inline span that looks something like <span class="notice is-warning">**Disabled link:** cool link</span>

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

* Otherwise, render the link normally: [cool link](https://example.com).

* 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.

Suggested 5 months ago by Michael‭