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_count, rev_latest_major, max(rev_len) from ( select rev_page, max(rev_timestamp) as rev_latest_major from revision where rev_minor_edit <> 1 group by rev_page having rev_latest_major < '20140603000000' ) lm join ( select rev_page, max(rev_timestamp) as rev_latest from revision group by rev_page ) l join ( select rev_page, min(rev_timestamp) as rev_earliest from revision group by rev_page having rev_earliest > '20130703000000' ) e on lm.rev_page = e.rev_page join ( select rev_page, rev_timestamp, rev_len from revision ) ln on ln.rev_page = lm.rev_page and ln.rev_timestamp = l.rev_latest 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 lm.rev_page = c.rev_page join page on lm.rev_page = page_id and page_namespace = 0 and page_is_redirect = 0 left outer join page_restrictions on lm.rev_page = pr_page where pr_page is null and lm.rev_page not in ( select cl_from from categorylinks where cl_to like '%ابهام%' ) group by page_id, page_title, rev_count, rev_latest_major ;
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...