Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
undermaintained Species Galleries
by
Lucas Werkmeister
This query is marked as a draft
This query has been published
by
Sadads
.
w.wiki/BJ47
Toggle Highlighting
SQL
SELECT page_title FROM page JOIN categorylinks ON cl_from = page_id -- in [[Category:Taxon galleries]] WHERE page_namespace = 0 -- not already a redirect AND page_is_redirect = 0 -- less than 500 bytes AND page_len < 500 AND ( -- either last edited in 2016 or earlier ( SELECT rev_timestamp FROM revision WHERE rev_id = page_latest ) < '20170000000000' -- or at most 2 edits after 2016, as well as at least one edit in 2016 or earlier OR ( ( SELECT COUNT(*) FROM revision WHERE rev_page = page_id AND rev_timestamp >= '20170000000000' ) <= 2 AND EXISTS ( SELECT * FROM revision WHERE rev_page = page_id AND rev_timestamp < '20170000000000' ) ) ); -- not included (not possible in Quarry): less than 15 pageviews a month – must be filtered externally
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...