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
Novem Linguae
.
These are often easy declines, because you usually need around 3 sources to pass GNG. Help thin out the queue a bit. Still needs manual review though, because 1) some drafts qualify for an SNG, and 2) some drafts have citations such as books that don't include an external link. The lowest # of external links a draft can have from a database perspective is 24, because the database logs all the transcluded external links from the AFC template, which contains a ton in the "Editor resources" section of the template.
Toggle Highlighting
SQL
SELECT CONCAT('* [[Draft:', page_title, ']]') FROM categorylinks JOIN page ON page_id = cl_from WHERE cl_to = 'Pending_AfC_submissions' AND page_namespace = 118 AND ( SELECT COUNT(*) FROM externallinks WHERE el_from = page_id ) < 27 /* 24 = 0, 25 = 1, 26 = 2, 27 = 3. So drafts with 0-2 external links. Unlikely to pass GNG. */ ORDER BY externallinks_count ASC
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...