Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Editnotices for redirected articles [enwiki]
by
Tamzin
This query is marked as a draft
This query has been published
by
Tamzin
.
Toggle Highlighting
SQL
SELECT page_title, CONCAT("https://en.wikipedia.org/wiki/Template:", page_title) AS $link FROM page editnotice WHERE editnotice.page_namespace = 10 AND editnotice.page_is_redirect = 0 AND editnotice.page_title LIKE "Editnotices/Page/%" AND NOT EXISTS (SELECT * FROM page subject WHERE subject.page_namespace = 0 AND subject.page_title = REPLACE(editnotice.page_title, "Editnotices/Page/", "") LIMIT 1) AND REPLACE(editnotice.page_title, "Editnotices/Page/", "") NOT RLIKE "^Talk|(User|Wikipedia|File|MediaWiki|Template|Help|Category|Portal|Draft|TimedText|Module|Gadget( definition)?)( talk)?"
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...