Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
User page moves by users with low editcount
by
Perhelion
This query is marked as a draft
This query has been published
by
4nn1l2
.
recentchanges on commonswiki
Toggle Highlighting
SQL
-- User moves by users with low editcount 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 rc_title like u.user_name -- AND rc_title not like "%/%" AND u.user_editcount < 400 AND rc_params not like "%/%" -- AND rc_patrolled = "0" ORDER BY rc_timestamp DESC -- limit 30;
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...