Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Cwek
.
具体信息参见 Recentchanges 表: https://www.mediawiki.org/wiki/Manual:Recentchanges_table 字段rc_type代表编辑类型,其中0为页面编辑 字段rc_patrolled代表巡查类型,0 为 未标记(默认),1为 手工标记, 2 为 自动标记(例如有自动自标记权限的)
Toggle Highlighting
SQL
begin select count(rc.id) sum_count from recentchanges rc inner join revision rv on rc.rc_this_oldid = rv.rev_id inner join page p on rv.rev_page = p.page_id left join actor ac on rv.rev_actor = ac.actor_id where rc.rc_type in ('1') and rc.rc_timestamp > '20220523131438' ; select rc.rc_patrolled,count(rc.id) patrolled_count from recentchanges rc inner join revision rv on rc.rc_this_oldid = rv.rev_id inner join page p on rv.rev_page = p.page_id left join actor ac on rv.rev_actor = ac.actor_id where rc.rc_type in ('1') and rc.rc_timestamp > '20220523131438' group by rc.rc_patrolled; end;
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...