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(page1.page_title), page2.page_is_redirect FROM templatelinks JOIN page AS page1 ON page1.page_namespace = 0 AND page1.page_id = tl_from JOIN page AS page2 ON page2.page_namespace = 10 AND page2.page_title = tl_title WHERE tl_from_namespace = 0 AND tl_namespace = 10 AND tl_title LIKE "Infobox&_%" ESCAPE "&" AND NOT tl_title LIKE "Infobox&_-&_%" ESCAPE "&" AND NOT tl_title LIKE "%/%" GROUP BY 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...