Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Portuguese Wikipedia article creations in the last year (March 2020)
by
EpochFail
This query is marked as a draft
This query has been published
by
Chtnnh
.
Toggle Highlighting
SQL
USE ptwiki_p; SELECT page_title, rev_id, rev_timestamp AS creation_timestamp, FALSE AS archived, "OK" AS draft_quality FROM revision INNER JOIN page ON rev_page = page_id WHERE rev_timestamp BETWEEN 20190320 AND 20200320 AND rev_parent_id = 0 AND page_namespace = 0 LIMIT 10 UNION ALL SELECT ar_title AS page_title, ar_rev_id AS rev_id, ar_timestamp AS creation_timestamp, TRUE AS archived, IF(comment_text REGEXP "WP:ER#ER20\\|", "unsuitable", IF(comment_text REGEXP "WP:ER#ER6\\|", "spam", "OK")) AS draft_quality FROM archive LEFT JOIN logging speedy_delete ON log_namespace = ar_namespace AND log_title = ar_title AND log_type = "delete" AND log_action = "delete" AND log_timestamp > ar_timestamp LEFT JOIN comment ON log_comment_id = comment_id AND comment_text LIKE "[[WP:ER#%" AND comment_text REGEXP "WP:ER#(ER6|ER20)\\|" WHERE ar_timestamp BETWEEN 20190320 AND 20200320 AND log_timestamp BETWEEN 20190320 AND 20200320 AND ar_parent_id = 0 AND ar_namespace = 0 LIMIT 10;
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...