Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Non-contributor user pages transcluding infobox person
by
Uhai
This query is marked as a draft
This query has been published
by
EqJjgOa8rVvsRmZL
.
User pages edited within the past year and not including subpages or users with more than 30 edits. To do: -Don't show pages with latest revision being by a bot -Only count non-userspace edits towards the 30 edit threshold
Toggle Highlighting
SQL
SELECT CONCAT('https://en.wikipedia.org/wiki/User:', p.page_title) AS 'User page', u.user_editcount AS 'User edit count', TIMESTAMP(r.rev_timestamp) AS 'Page last edited', p.page_len AS 'Page length', CASE WHEN p.page_is_new THEN 'Yes' ELSE 'No' END AS 'Is new?' FROM page p INNER JOIN user u ON REPLACE(p.page_title, '_', ' ') = u.user_name INNER JOIN revision_userindex r ON p.page_latest = r.rev_id WHERE p.page_namespace = 2 AND p.page_id IN (SELECT tl_from FROM templatelinks WHERE tl_target_id = 1182) -- AND p.page_title NOT LIKE '%/%' AND u.user_editcount <= 30 AND r.rev_timestamp > DATE_SUB(NOW(), INTERVAL 1 YEAR) ORDER BY r.rev_timestamp DESC
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...