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
# 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`, EXISTS (SELECT * FROM page WHERE page_namespace=pl_namespace AND page_title=pl_title AND page_is_redirect=1) AS `redir` FROM pagelinks WHERE pl_namespace NOT IN (2,3,6) AND pl_from_namespace NOT IN (1,2,3,5,7,9,11,13,15,101,829) AND pl_title NOT REGEXP '^Poly\\(' AND pl_title NOT REGEXP '-\\([A-Z][a-z]?\\)|\\(([0AHMhnst]|I{1,3}|[ëi]n|dig|bis?pyridine)\\)$' 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`, EXISTS (SELECT * FROM page WHERE page_namespace=pl_namespace AND page_title=pl_title AND page_is_redirect=1) AS `redir` FROM pagelinks INNER JOIN page pf ON (pf.page_id=pl_from) WHERE pf.page_title NOT REGEXP '/Archief' AND (pf.page_namespace!=4 OR pf.page_title NOT REGEXP '^Te_(beoordel|verwijder)en_pagina\'s') AND pl_namespace NOT IN (2,3,6) AND pl_from_namespace NOT IN (1,2,3,5,7,9,11,13,15,101,829) AND pl_title NOT REGEXP '^Poly\\(' AND pl_title NOT REGEXP '-\\([A-Z][a-z]?\\)|\\(([0A-Za-z]|I{1,3}|[ëi]n|dig|bis?pyridine)\\)$' 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...