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.

مرحبًا يا جاكوب، أردت فقط أن أتابع الأمر وأخبرك بأن المشكلة في تقرير تعديلات المنشورات قد تم حلها. ستشاهد قائمة كاملة ومنظمة لتعديلات المنشورات في التقرير من الآن فصاعدًا :slight_smile:

شكرًا لك! هذا يعمل بشكل رائع. من المثير للاهتمام أنه منذ أن أبلغت عن هذه المشكلة في الأصل، واجهت حاجة ذات صلة لتقرير تحرير المنشور. يُشرّب المحتالون أشياءً عادية ثم يعدّلونها لاحقًا لتتضمن روابط.

يُظهر تقرير تحرير المنشور الحالي فقط عندما يقوم المستخدم أ بتحرير منشور المستخدم ب، وهو بالتأكيد ما طلبته في الأصل. لكن من المحير قليلاً أنه يستثني الحالات التي يقوم فيها المستخدم أ بتحرير منشوره هو نفسه.

أعتقد أن حالة الاستخدام الخاصة بي مُغطّاة بشكل كافٍ بواسطة استعلام مستكشف البيانات الموصوف هنا، لذا لا أطلب تغييرًا في الكود، لكنني أوصي بتعديل عنوان هذا التقرير ليصبح شيئًا مثل “التعديلات بين المستخدمين” أو ما شابه. :slight_smile:

شكرًا مجددًا على كل مساعدتك.