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
Matěj Suchánek
.
In cswiki, all infoboxes should be consistent as well as their title, since 2013. The goal is to have this query empty.
Toggle Highlighting
SQL
USE cswiki_p; SELECT tl_title, COUNT(DISTINCT tl_from), page_is_redirect, IF(page_title IS NULL, 0, 1) AS page_exists FROM (SELECT * FROM templatelinks WHERE tl_namespace = 10) AS ib LEFT JOIN page ON page_title = tl_title AND page_namespace = tl_namespace WHERE tl_title LIKE "Infobox&_%" ESCAPE "&" AND NOT tl_title LIKE "Infobox&_-&_%" ESCAPE "&" AND tl_title NOT LIKE "%/%" AND tl_title NOT LIKE "%&_položka%" ESCAPE "&" AND tl_title NOT IN ("Infobox_hlavička", "Infobox_konec", "Infobox_obrázek", "Infobox_začátek") GROUP BY tl_title ORDER BY COUNT(DISTINCT tl_from) DESC, tl_title;
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...