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
Huji
.
Articles that are not protected, have only been edited less than 5 times, and their last edit happened more than a year ago but the article was created less than two years ago. This does NOT count minor edits (so that if an article has been edited more recently but only by bots, it would still show up in the results).
Toggle Highlighting
SQL
use fawiki_p; select page_id, page_title, rev_latest, rev_count from ( select rev_page, max(rev_timestamp) as rev_latest from revision where rev_minor_edit <> 1 group by rev_page having rev_latest < '20140603000000' and rev_latest > '20130603000000' ) l join ( select rev_page, count(rev_timestamp) as rev_count from revision where rev_minor_edit <> 1 group by rev_page having rev_count < 5 ) c on l.rev_page = c.rev_page join page on l.rev_page = page_id and page_namespace = 0 left outer join page_restrictions on l.rev_page = pr_page where pr_page 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...