You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.
modify this script on line 1357:
cells = ('user', 'sendmessage', 'remove')
to also include a "neutralise karma" button.
cells = ('user', 'sendmessage', 'remove', 'neutralise karma')
Also create a python script that parses all of the votes in the vote_engine by that user and adds a neutralising vote to the things they have voted on.
Recommend doing this as an extension of #568 ; that is, when an account's weight is changed, past votes are modified to have the new weight. That means 0ing out an account will also erase any past votes as well as shutting off future ones.
Just a note that a straightforward rollback of upvotes and downvotes can be performed based on the results of get_liked and get_disliked defined in queries.py
This probably doesn't need to be a script if some small delay (100 milliseconds?) can be inserted between each database hit to reverse the votes.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
https://github.com/tricycle/lesswrong/blob/dfdc6e30f8f149651d679e209bc3fa24beea51b7/r2/r2/lib/pages/pages.py
modify this script on line 1357:
cells = ('user', 'sendmessage', 'remove')
to also include a "neutralise karma" button.
cells = ('user', 'sendmessage', 'remove', 'neutralise karma')
Also create a python script that parses all of the votes in the vote_engine by that user and adds a neutralising vote to the things they have voted on.
database structure:
Probably also want a warning between pushing the button and activating the script.
The text was updated successfully, but these errors were encountered: