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
Perhelion
.
recentchanges on commonswiki
Toggle Highlighting
SQL
-- User moves by users with low editcount USE commonswiki_p; SELECT DATE_FORMAT(rc_timestamp, "%b %d %Y %h:%i %p") AS ts, REPLACE(rc_title, '_', ' ') AS oldname, REPLACE( SUBSTRING_INDEX(SUBSTRING_INDEX(rc_params, ';', 2), ':', -2), '"', ' ' ) AS newname, rc_actor AS user_id, u.user_editcount AS editcount, u.user_name AS username FROM recentchanges -- INNER JOIN user AS u ON rc_actor = u.user_id JOIN actor AS a ON rc_actor = a.actor_id -- JOIN revision_actor_temp AS r ON r.revactor_actor = a.actor_id JOIN user AS u ON u.user_id = a.actor_user WHERE rc_log_action = "move" AND rc_namespace IN("2", "3") AND u.user_editcount < 200 AND rc_title not like u.user_name -- AND rc_title not like "%/%" ORDER BY rc_timestamp DESC;
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...