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
.
in recently changed pages
Toggle Highlighting
SQL
SELECT DISTINCT pl_namespace AS ns, REPLACE(pl_title,'_', ' ') AS title, (EXISTS(SELECT * FROM page WHERE page_namespace=pl_namespace AND page_title=pl_title)) AS 'exists', pf.page_title AS 'redir from', rdt.rd_title AS 'redir to', (EXISTS(SELECT * FROM page WHERE page_namespace=pl_namespace AND page_title=REGEXP_REPLACE(CONVERT(pl_title USING utf8mb4), '[`´‘’‛′‵]', "'"))) AS "exists'" FROM pagelinks, recentchanges LEFT JOIN redirect rdf ON rc_namespace=rd_namespace AND rc_title=rd_title LEFT JOIN page pf ON rdf.rd_from=pf.page_id LEFT JOIN redirect rdt ON rc_cur_id=rdt.rd_from WHERE rc_namespace=0 AND rc_title=pl_title AND pl_from_namespace=0 AND pl_namespace=0 AND LENGTH(pl_title)>3 AND CONVERT(pl_title USING utf8mb4) REGEXP '[`´‘’‛′‵]' ORDER BY rc_cur_id 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...