Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Japanese Wikipedia Activity Summary
by
MahmoudHashemi
This query is marked as a draft
This query has been published
by
JSutherland (WMF)
.
Add "AND rc_user=0" to the end of the list of conditions for anonymous edit counts. Add "AND rc_bot=1" to the end of the list of conditions for bot edit counts.
Toggle Highlighting
SQL
use nlwiki_p; SELECT COUNT(*) AS edits, COUNT(DISTINCT rc_user) AS users, COUNT(DISTINCT rc_cur_id) AS titles FROM recentchanges WHERE rc_namespace = 0 AND rc_type = 0 AND rc_timestamp > DATE_FORMAT(DATE_SUB(CURDATE(), INTERVAL 7 DAY), '%Y%m%d%H%i%s');
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...