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
Matěj Suchánek
.
Toggle Highlighting
SQL
USE wikidatawiki_p; SELECT items.page_title, comment_text FROM revision_userindex JOIN page AS items ON items.page_id = rev_page JOIN `comment` ON comment_id = rev_comment_id CROSS JOIN hywiki_p.page AS hy WHERE rev_user_text = 'MatSuBot' AND rev_timestamp > '201905' AND comment_text LIKE '/* wbsetsitelink-remove:1|hywiki */ %' AND hy.page_namespace = 0 AND hy.page_title = REPLACE(SUBSTRING_INDEX(REPLACE(comment_text, '/* wbsetsitelink-remove:1|hywiki */ ', ''), ', ', 1), ' ', '_'); /* SELECT log_title, page_title FROM logging JOIN page ON page_id = log_page LEFT JOIN wikidatawiki_p.wb_items_per_site AS ips1 ON ips_site_id = 'hywwiki' AND ips_site_page = REPLACE(page_title, '_', ' ') WHERE log_type = 'import' AND log_namespace = 0 AND ips_item_id IS NULL; #*/
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...