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
Arjunaraoc
.
Gives list of all user pages which need deletion, as they are not edited by the concerned user, following inclusion of Infobox person template by other wikipedians.
Toggle Highlighting
SQL
use tewiki_p; SELECT page_title,rev_user_text FROM page LEFT JOIN templatelinks ON tl_from = page_id LEFT JOIN revision ON revision.rev_page=page.page_id WHERE tl_namespace = 10 AND tl_title = "Infobox person" AND tl_from_namespace=2 AND page.page_namespace = 2 AND page_is_redirect =0 AND rev_user!=0 AND page_title NOT REGEXP ".+[/|.].+" /* AND page_title NOT IN (SELECT rev_user_text FROM page LEFT JOIN revision ON revision.rev_page=page.page_id WHERE page_namespace = 2 AND page_is_redirect =0 AND rev_user!=0 AND page_title NOT REGEXP ".+[/|.].+") */ GROUP BY page_title, rev_user_text ORDER BY page_title,rev_user_text
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...