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.

Ehi Jacob, volevo solo farti un aggiornamento e informarti che il problema con il rapporto Modifiche ai post è stato risolto. Da ora in poi, dovresti vedere un elenco completo e ben fatto delle modifiche ai post nel rapporto :slight_smile:

Grazie! Sta funzionando benissimo. È interessante notare che, da quando ho segnalato inizialmente questo problema, ho scoperto un’esigenza correlata: un rapporto sulle modifiche ai post. Gli spammer pubblicano contenuti apparentemente innocui e successivamente li modificano per includere link.

L’attuale rapporto sulle modifiche ai post mostra solo quando l’Utente A modifica il post dell’Utente B, che è esattamente ciò che avevo richiesto inizialmente. Tuttavia, è un po’ confuso che non includa i casi in cui l’Utente A modifica il proprio post.

Credo che il mio caso d’uso sia già adeguatamente risolto dalla query di Data Explorer descritta qui, quindi non sto richiedendo alcuna modifica al codice. Tuttavia, consiglierei di rinominare questo rapporto in qualcosa come “Modifiche tra utenti diversi” o simile. :slight_smile:

Grazie ancora per tutto il vostro aiuto.