Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Top 20 enwiki articles by edits & editors in past 7 days
by
EllenCT
This query is marked as a draft
This query has been published
by
MKar
.
Use with http://mlei.net/shared/tool/csv-wiki.htm ("download data" below, check the headers box, and add style="margin: auto;" to the first line). Copy it into a new query if it is out of date; last run: 5 March 2015
Toggle Highlighting
SQL
USE orwiki_p; SELECT CONCAT('[[', replace(rc_title, '_', ' '), ']]') AS article, COUNT(*) AS edits, COUNT(DISTINCT rc_user_text) AS editors, -- used to be rc_user which counted all IPs as same ROUND(LN(COUNT(*)) * (LN(COUNT(DISTINCT rc_user_text))+1.4), 2) AS weighted_rank FROM recentchanges WHERE rc_namespace = 0 AND rc_timestamp > DATE_FORMAT(DATE_SUB(NOW(), INTERVAL 7 DAY), '%Y%m%d%H%i%s') GROUP BY article ORDER BY weighted_rank DESC LIMIT 20;
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...