Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Statistics of editing MediaWiki JS/CSS in ruwiki -markadmins
by
Jack who built the house
This query is marked as a draft
This query has been published
by
Jack who built the house
.
Toggle Highlighting
SQL
USE ruwiki_p; SELECT ROW_NUMBER() OVER (ORDER BY COUNT(*) DESC), rev_user_text, COUNT(rev_user_text) FROM revision JOIN page ON page_id = rev_page JOIN user ON rev_user_text = user_name JOIN user_groups ON user_id = ug_user WHERE (ug_group = 'sysop' OR -- Позволяет исключить глобальных редакторов интерфейса ug_group = 'engineer' ) AND rev_timestamp >= "20170801" AND (page_namespace = 2 AND (page_title LIKE '%.css' OR page_title LIKE '%.js' ) AND page_title NOT LIKE CONCAT(REPLACE(rev_user_text, ' ', '_'), '%') OR (page_namespace = 8 AND (page_title LIKE '%.css' OR page_title LIKE '%.js' ) ) ) AND rev_comment NOT LIKE '%Автоматическое переименование %' AND -- Это делают бюрократы при переименовании учётных записей page_title != 'Gadget-markadmins.js' GROUP BY rev_user_text
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...