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
Saeidpourbabak
.
Toggle Highlighting
SQL
USE fawiki_p; SELECT REPLACE(concat('* [[',page_title,']]'),'_',' '), REPLACE(concat('[[',rd_title,']]'),'_',' ')و REPLACE(concat(', [[',MID(page_title,1,LOCATE('(ابهام',page_title)-2),']]'),'_',' ') FROM page JOIN redirect ON page_id = rd_from WHERE page_is_redirect = 1 AND page_namespace = 0 AND rd_namespace = 0 #GROUP BY rd_title #ORDER BY page_title AND NOT REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(page_title,'آ','ا'),'هٔ','ه'),'ك','ک'),'ي','ی'),'',''),'_','') = REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(rd_title,'آ','ا'),'هٔ','ه'),'ك','ک'),'ي','ی'),'',''),'_','') AND NOT LOWER(CONVERT(page_title USING utf8mb4)) = LOWER(CONVERT(rd_title USING utf8mb4)) REPLACE(concat(', [[',MID(page_title,1,LOCATE('(ابهام',page_title)-2),']]'),'_',' ') AND rd_title LIKE 'ACH' LIMIT 1000;
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...