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
Samwilson
.
How many pages in the NPP main namespace backlog have been tagged for deletion?
Toggle Highlighting
SQL
USE enwiki_p; SELECT COUNT(ptrp_page_id) FROM pagetriage_page LEFT JOIN pagetriage_page_tags ON ptrpt_page_id = ptrp_page_id LEFT JOIN pagetriage_tags ON ptrt_tag_id = ptrpt_tag_id WHERE ptrp_reviewed = 0 AND (ptrp_deleted = 1 OR ptrt_tag_name IN ('csd_status', 'prod_status', 'blp_prod_status', 'afd_status')) GROUP BY ptrp_page_id
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...