Replicas browser and optimizer
This query is marked as a draft
This query has been published
Fork this query, change "idwiki" with target's Wikipedia language (e.g : "enwiki"), change the @target variable with the target's username, then run it. See full list of all possible databases here : https://quarry.wmflabs.org/query/4031
set @target = 'Naval Scene'; SELECT user_name, CONCAT(substr(user_registration,1,4),"-",substr(user_registration,5,2), "-",substr(user_registration,7,2)) AS 'sejak', user_editcount AS 'edit count', CONCAT(substr(rev_timestamp,1,4),"-",substr(rev_timestamp,5,2), "-",substr(rev_timestamp,7,2)," ",substr(rev_timestamp,9,2)+7,":",substr(rev_timestamp,11,2)) as 'Last Edit', CONCAT(substr(log_timestamp,1,4),"-",substr(log_timestamp,5,2), "-",substr(log_timestamp,7,2)," ",mod(substr(log_timestamp,9,2)+7,24),":",substr(log_timestamp,11,2)) as 'Last Log', GROUP_CONCAT(ug1.ug_group SEPARATOR ' - ') AS 'role' FROM `user` LEFT JOIN user_groups ug1 ON user_id = ug1.ug_user /*AND ug1.ug_group IN ('editor')*/ JOIN actor ON actor_user = user_id JOIN revision_userindex ON rev_id = (SELECT rev_id FROM revision_userindex WHERE actor_id = rev_actor ORDER BY rev_timestamp DESC LIMIT 1) JOIN logging_userindex ON log_id = (SELECT log_id FROM logging_userindex WHERE actor_id = log_actor ORDER BY log_timestamp DESC LIMIT 1) where user_name = @target GROUP BY user_name ORDER BY log_timestamp DESC LIMIT 100 ; select distinct page_title as 'Artikel' from revision_userindex r1 join actor_revision on actor_id = r1.rev_actor left join page on page_id=r1.rev_page where actor_name = @target ; select actor_name as 'User', page_title as 'Artikel', CONCAT(substr(rev_timestamp,1,4),"-",substr(rev_timestamp,5,2), "-",substr(rev_timestamp,7,2)," ",substr(rev_timestamp,9,2)+7,":",substr(rev_timestamp,11,2)) as 'Waktu', rev_len from revision_userindex r1 join actor_revision on actor_id = r1.rev_actor left join page on page_id=r1.rev_page where actor_name = @target order by rev_timestamp desc limit 100; ;
By running queries you agree to the
and you irrevocably agree to release your SQL under
All SQL code is licensed under
Checking query status...
Report a bug!
Wikimedia Cloud VPS
, written in