-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve spam_hosts copy #8203
Improve spam_hosts copy #8203
Conversation
- Increase size of the reviewable's conversation excerpt to prevent truncation of the new copy - Remove the `domain` parameter from the `flag_linked_posts_as_spam` method in the user model since it is no longer needed - Remove the `domain` interpolation variable from all translation files - Add "All posts from this user that include links should be reviewed." to server.en.yml for added clarity on why the posts entered the queue
You've signed the CLA, tshenry. Thank you! This pull request is ready for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. However, generally we only update English. Is there a problem if we update these @nlalonde ?
It's not a problem, and I think you have to edit them in this case because they have an interpolation that won't work anymore. Transifex will mark them as needing translation again, so they won't be pulled back in until they're updated by translators. |
This pull request has been mentioned on Discourse Meta. There might be relevant details there: |
3 similar comments
This pull request has been mentioned on Discourse Meta. There might be relevant details there: |
This pull request has been mentioned on Discourse Meta. There might be relevant details there: |
This pull request has been mentioned on Discourse Meta. There might be relevant details there: |
* DEV: Don't post multiple linkbacks for the same PR If a post contained any variants of PR URL like: https://github.com/CvX/discourse/pull/8203/commits https://github.com/CvX/discourse/pull/8203/files https://github.com/CvX/discourse/pull/8203/checks …the plugin would create an extra linkback every time you'd run the job (i.e. the job was unintentionally non-idempotent) An example of duplicated @discoursebot comments: discourse/discourse#8203 (comment) * DEV: Don't create jobs for posts that only mention "github"
Previously, if you supplied your own content to DButton it would still add the character: ```hbs <DButton>my text</DButton> ``` ```html <button>​ my text</button> ```
Previously, if you supplied your own content to DButton it would still add the character: ```hbs <DButton>my text</DButton> ``` ```html <button>​ my text</button> ```
The domain included in the
spam_hosts
copy is confusing as it refers to a link in the post that is being reviewed, not the link that caused all of the user's posts with links to end up in the review queue. For now, it's easiest to remove the domain altogether and add a little more text to describe what the posts ended up in the review queue. For more context see: https://meta.discourse.org/t/white-listed-spam-host-domains-setting-not-being-honoured-for-new-users/130348Changes include
domain
parameter from theflag_linked_posts_as_spam
method in the user model since it is no longer neededdomain
interpolation variable from all translation filesResult looks like: