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
Zache
.
Toggle Highlighting
SQL
USE fiwiki_p; SELECT rc_title, reviewed_rev_id, same_time_reviewed_revisions FROM ( SELECT rc_cur_id, rc_title, reviewed_rev_id, COUNT(DISTINCT(rc_this_oldid)) AS rev_count, GROUP_CONCAT(DISTINCT(rc_user_text)) AS reviewed_user_names, GROUP_CONCAT(DISTINCT(rc_this_oldid)) AS same_time_reviewed_revisions, fr3.fr_flags FROM ( SELECT rc_id, rc_cur_id, rc_title, fr1.fr_rev_id, rc_this_oldid, MIN(fr2.fr_rev_id) AS reviewed_rev_id, rc_user_text FROM flaggedpages, recentchanges LEFT JOIN flaggedrevs AS fr1 ON fr1.fr_rev_id=rc_this_oldid, flaggedrevs AS fr2 WHERE rc_source="mw.edit" AND fp_page_id=rc_cur_id AND fp_stable >= rc_this_oldid AND fr2.fr_page_id=rc_cur_id AND fr2.fr_rev_id >= rc_this_oldid GROUP BY rc_id ) AS revs, flaggedrevs AS fr3 WHERE reviewed_rev_id=fr3.fr_rev_id GROUP BY reviewed_rev_id ) AS reviewed_revs, logging WHERE rev_count > 1 AND fr_flags NOT LIKE "%auto%" AND log_page=rc_cur_id AND log_type="review" AND log_params LIKE concat("%", reviewed_rev_id, "%")
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...