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.
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.
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.
Привет, Джейкоб! Я хотел лишь напомнить, что проблема с отчётом «Правки постов» исправлена. С этого момента в отчёте вы будете видеть полный список правок постов ![]()
Спасибо! Всё работает отлично. Интересно, что с момента моего первоначального сообщения я столкнулся с смежной необходимостью в отчёте о редактировании постов. Спаммеры публикуют безобидные сообщения, а затем редактируют их, добавляя ссылки.
Текущий отчёт о редактировании постов показывает только случаи, когда пользователь А редактирует пост пользователя Б, что, безусловно, соответствовало моему первоначальному запросу. Однако немного сбивает с толку то, что в нём не учитываются случаи, когда пользователь А редактирует свой собственный пост.
Мне кажется, что моя задача уже решена с помощью запроса в Data Explorer, описанного здесь, поэтому я не прошу изменений в коде. Однако я бы рекомендовал изменить название этого отчёта на что-то вроде «Редактирование между пользователями» или подобное. ![]()
Ещё раз спасибо за всю вашу помощь.