Closed
Bug 792008
Opened 13 years ago
Closed 13 years ago
please remove comment 33 from bug 755593
Categories
(Data & BI Services Team :: DB: MySQL, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: glob, Assigned: scabral)
References
()
Details
(from Robert Kaiser (:kairo@mozilla.com) from bug 792007)
> https://bugzilla.mozilla.org/show_bug.cgi?id=755593#c33
>
> The first expletive there wasn't caught by Profanivore.
>
> Unfortunately, this is a somewhat high-profile bug, so quite a few people
> will read this. We should get rid of the expletive and also try to find out
> why Profanivore missed it.
can this comment please be removed.
thanks.
it looks like the comment_id is 6640942.
can you please verify this is correct, then nuke it with:
DELETE FROM longdescs WHERE comment_id=6640942
Comment 2•13 years ago
|
||
Do we do actual deletion? Or do we just set the text to ''?
If we do think deletion doesn't cause data integrity problems, do we need an "allow_comment_deletion" Param, I wonder?
Gerv
Comment 3•13 years ago
|
||
(In reply to Gervase Markham [:gerv] from comment #2)
> Do we do actual deletion? Or do we just set the text to ''?
We actually remove comments completely. It regularly occurs for spam comments, so it's nothing new.
> If we do think deletion doesn't cause data integrity problems, do we need an
> "allow_comment_deletion" Param, I wonder?
I could definitely see that being useful to others. File an upstream bug?
Assignee | ||
Comment 4•13 years ago
|
||
Is that param allowing an administrator to delete comments? I think that's a fabulous idea, and something lots of folks would love. I don't think self-deletion (e.g. I delete a comment I made) is a good idea necessarily, there needs to be *some* amount of pain so people think before they type, but having to involve a DBA is overkill.
Comment 5•13 years ago
|
||
Bug 792080 filed.
Gerv
Assignee | ||
Comment 6•13 years ago
|
||
mysql> update longdescs set thetext=REPLACE(thetext,'Fuck','****') WHERE comment_id=6640942;
Query OK, 1 row affected (0.00 sec)
Rows matched: 1 Changed: 1 Warnings: 0
Updated the text to not have the swear word, because we're not intending to censor the whole post, just the one word.
Assignee | ||
Updated•13 years ago
|
Assignee: server-ops-database → scabral
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → Data & BI Services Team
You need to log in
before you can comment on or make changes to this bug.
Description
•