Viewing edit activity

AI-generated summary

Viewing Edit Activity

Admin jsha sought a way to view the history of users’ edits to others’ posts and a global history of all such edits to ensure edits are reasonable and provide feedback to members. cpradio suggested using the Data Explorer Plugin with a specific query.

However, codinghorror revealed that a built-in report for this purpose is available in the admin dashboard. jsha found a bug in the report, which was later fixed by tshenry.

jsha pointed out that the report only shows cross-user edits, not self-edits, and suggested renaming it to “Cross-user edits” for clarity. Their use case was solved by a Data Explorer query, and they thanked the team for their help.

As an admin or moderator, is there a way to view the history of a user’s edits to other people’s posts? And/or a way to view a global history of all edits to others’ posts? I’d like to occasionally do a read-through to make sure such edits are reasonable, and be able to provide feedback to Regular-level members on how to make good edits.

Data Explorer Plugin. The query you will want to start with

SELECT *
FROM post_revisions

You will probably want to eventually add date filters as I believe it limits to 200 results.

We have since added a built in report for this in the admin dashboard.

Awesome, thanks! I’ll check it out.

I think there may be a bug. When I visit https://community.letsencrypt.org/admin/reports/post_edits?end_date=2019-06-05&start_date=2019-05-01, I see “Post Edits — No data to display.”, even if I hit “Refresh Report” multiple times.

I know there are edits because I lifted our restrictions on edits, and we recently got another instance of a spammy edit.

Can you repro this @tshenry

I’m not able to repro at the moment. Still digging.

Salut Jacob, je voulais juste faire un suivi et t’informer que le problème concernant le rapport des modifications de publication a été résolu. À partir de maintenant, tu devrais voir une belle liste complète des modifications de publication dans le rapport :slight_smile:

Merci ! Cela fonctionne très bien. Fait intéressant, depuis que j’ai signalé ce problème à l’origine, j’ai identifié un besoin connexe concernant un rapport sur les modifications de messages. Les spammeurs publient des contenus anodins, puis les modifient ultérieurement pour y inclure des liens.

Le rapport actuel sur les modifications de messages n’affiche que les cas où l’utilisateur A modifie le message de l’utilisateur B, ce qui correspond bien à ma demande initiale. Cependant, il est un peu déroutant qu’il ne prenne pas en compte les cas où l’utilisateur A modifie son propre message.

Je pense que mon cas d’usage est déjà suffisamment résolu par la requête Data Explorer décrite ici, je ne demande donc pas de modification du code. Toutefois, je recommanderais de modifier le titre de ce rapport pour quelque chose comme « Modifications entre utilisateurs » ou similaire. :slight_smile:

Merci encore pour toute votre aide.