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
Bdijkstra
.
missing closing parenthesis or missing space before parenthesis open ~2-12 min TODO: should use a page with titles that should be ignored
Toggle Highlighting
SQL
USE nlwiki_p; # summary of worst offenders (likely caused by a template) SELECT COUNT(pl_from) AS `count`, pl_namespace AS ns, pl_title, GROUP_CONCAT(DISTINCT pl_from_namespace) AS `from-ns`, EXISTS (SELECT * FROM page WHERE page_namespace=pl_namespace AND page_title=pl_title) AS `exists` FROM pagelinks WHERE pl_namespace!=6 AND pl_from_namespace NOT IN (1,2,3,5,7,9,11,13,15,101,829) AND pl_title REGEXP '\\([^\\)]+$' GROUP BY pl_namespace, pl_title ORDER BY `count` DESC LIMIT 10; # full list SELECT pf.page_namespace AS fns, pf.page_title AS ftitle, pl_namespace AS tns, pl_title AS ttitle, EXISTS (SELECT * FROM page pt WHERE pt.page_namespace=pl_namespace AND pt.page_title=pl_title) AS `exists` FROM pagelinks INNER JOIN page pf ON (pf.page_id=pl_from) WHERE pl_namespace!=6 AND pl_from_namespace NOT IN (1,2,3,5,7,9,11,13,15,101,829) AND pl_title REGEXP '\\([^\\)]+$' ORDER BY pf.page_latest DESC
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...