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, concat("https://fi.wikipedia.org/w/index.php?title=Toiminnot:Loki&dir=next&limit=1&offset=",(fr_timestamp+1) ,"&type=review&page=", rc_title) as log_url FROM ( SELECT rc_cur_id, rc_title, reviewed_rev_id, COUNT(DISTINCT(rc_this_oldid)) AS rev_count, GROUP_CONCAT(DISTINCT(rc_user_text) SEPARATOR ", ") AS reviewed_user_names, GROUP_CONCAT(DISTINCT(rc_this_oldid) SEPARATOR ", ") AS same_time_reviewed_revisions, fr3.fr_flags, fr3.fr_timestamp, fr3.fr_user 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 WHERE rev_count > 1 AND fr_flags NOT LIKE "%auto%"
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...