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
Wurgl
.
Die Liste enthält Falsch-Positive, z.B. Rotlink Adam Bischof vs. Blaulink Adam (Bischof). Das erste ist ein Sportler, das zweite ein Bischof. Ursprünglich 544 Stück.
Toggle Highlighting
SQL
SELECT CONCAT('Rotlink [[', REPLACE(pl_title, '_', ' '), ']] in {{Benutzer:Wurgl/Unnötige Rotlinks/Edit|1=', REPLACE(page_title, '_', ' '), '|2=Rotlink%20durch%20Blaulink%20ersetzt|3=', REPLACE(pl_title, '_', '%20'), '|4=', REPLACE(REGEXP_REPLACE(pl_title, "_([^_]*)$", "_(\\1)"), '_', '%20'), '}} eventuell durch [[', REPLACE(REGEXP_REPLACE(pl_title, "_([^_]*)$", "_(\\1)"), '_', ' '), ']] ersetzen') FROM pagelinks, page WHERE pl_from = page_id AND pl_namespace = 0 AND pl_from_namespace = 0 AND pl_title LIKE "%\_%" AND pl_title NOT LIKE "%\_(%)" AND NOT EXISTS (SELECT 1 FROM page WHERE page_namespace = 0 AND page_title = pl_title ) AND EXISTS (SELECT 1 FROM page WHERE page_namespace = 0 AND page_title = REGEXP_REPLACE(pl_title, "_([^_]*)$", "_(\\1)") );
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...