Closed
Bug 1248476
Opened 10 years ago
Closed 10 years ago
Train Akismet using historical spam
Categories
(developer.mozilla.org :: Security, enhancement)
developer.mozilla.org
Security
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: wbamberg, Assigned: jezdez)
Details
(Keywords: in-triage)
Akismet likes us to train it by feeding it known spam. Since we've been deleting spammy pages for over a year, and have (mostly, I hope) been writing "spam" in the revision comment, perhaps we could use this corpus of known-spam.
To do this we'd need to:
* somehow retrieve all pages deleted over, say, the last year
* that were marked as "spam" in the deletion comment
* somehow feed this to Akismet
Comment 1•10 years ago
|
||
Good thing to use those that are marked with "spam" in the deletion comment, because as templates/macros are currently wiki pages as well, and as we have deleted many of them, be sure to not submit deleted pages that have "Template:" in their slugs to Akismet.
| Reporter | ||
Comment 2•10 years ago
|
||
Yes, there are definitely other reasons we delete things, and it would be bad to feed it ham by mistake. I don't know about anyone else, but I'm pretty consistent in using "spam" as the deletion comment for spam pages.
If we were to get a list of deleted pages whose comment was "spam", we could manually scan the titles to confirm that it is all spam. Most of our spammy pages have very spammy titles.
Comment 3•10 years ago
|
||
I also use spam most of the time and 'spammer' when banning an account.
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → jezdez
Status: NEW → ASSIGNED
| Assignee | ||
Comment 4•10 years ago
|
||
PR with a management command we can use: https://github.com/mozilla/kuma/pull/3790
| Assignee | ||
Comment 5•10 years ago
|
||
This is now merged, waiting for another dev to be around to do a deploy.
Comment 6•10 years ago
|
||
I think this should be marked as RESOLVED/FIXED
| Assignee | ||
Updated•10 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 7•10 years ago
|
||
For bugs that are resolved, we remove the security flag. These haven't had their flag removed, so I'm removing it now.
Group: websites-security
You need to log in
before you can comment on or make changes to this bug.
Description
•