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
IKhitron
.
Toggle Highlighting
SQL
USE hewiki_p; SELECT CASE page_namespace WHEN -2 THEN "מדיה" WHEN -1 THEN "מיוחד" WHEN 0 THEN ":" WHEN 1 THEN "שיחה" WHEN 2 THEN "משתמש" WHEN 3 THEN "שיחת משתמש" WHEN 4 THEN "ויקיפדיה" WHEN 5 THEN "שיחת ויקיפדיה" WHEN 6 THEN "קובץ" WHEN 7 THEN "שיחת קובץ" WHEN 8 THEN "מדיה ויקי" WHEN 9 THEN "שיחת מדיה ויקי" WHEN 10 THEN "תבנית" WHEN 11 THEN "שיחת תבנית" WHEN 12 THEN "עזרה" WHEN 13 THEN "שיחת עזרה" WHEN 14 THEN "קטגוריה" WHEN 15 THEN "שיחת קטגוריה" WHEN 100 THEN "פורטל" WHEN 101 THEN "שיחת פורטל" WHEN 108 THEN "ספר" WHEN 109 THEN "שיחת ספר" WHEN 118 THEN "טיוטה" WHEN 119 THEN "שיחת טיוטה" WHEN 828 THEN "יחידה" WHEN 829 THEN "שיחת יחידה" ELSE page_namespace END AS 'מרחב ההפניה', page_title AS 'שם ההפניה', CASE rd_namespace WHEN -2 THEN "מדיה" WHEN -1 THEN "מיוחד" WHEN 0 THEN ":" WHEN 1 THEN "שיחה" WHEN 2 THEN "משתמש" WHEN 3 THEN "שיחת משתמש" WHEN 4 THEN "ויקיפדיה" WHEN 5 THEN "שיחת ויקיפדיה" WHEN 6 THEN "קובץ" WHEN 7 THEN "שיחת קובץ" WHEN 8 THEN "מדיה ויקי" WHEN 9 THEN "שיחת מדיה ויקי" WHEN 10 THEN "תבנית" WHEN 11 THEN "שיחת תבנית" WHEN 12 THEN "עזרה" WHEN 13 THEN "שיחת עזרה" WHEN 14 THEN "קטגוריה" WHEN 15 THEN "שיחת קטגוריה" WHEN 100 THEN "פורטל" WHEN 101 THEN "שיחת פורטל" WHEN 108 THEN "ספר" WHEN 109 THEN "שיחת ספר" WHEN 118 THEN "טיוטה" WHEN 119 THEN "שיחת טיוטה" WHEN 828 THEN "יחידה" WHEN 829 THEN "שיחת יחידה" ELSE rd_namespace END AS 'מרחב היעד', rd_title AS 'שם היעד' FROM page JOIN redirect ON rd_from = page_id WHERE page_namespace <> rd_namespace AND NOT (((page_title LIKE "וק:%") OR (page_title LIKE "WP:%")) AND page_namespace = 0 AND (rd_namespace = 4 OR rd_namespace = -1 OR rd_namespace = 8 OR rd_namespace = 12)) AND NOT (page_namespace = 0 AND page_title = 'Wikipedia_embassy') # shortcuts, 'embassy' AND NOT (page_namespace = 4 AND (page_title LIKE 'מיזמי_ויקיפדיה/%') AND rd_namespace = 0) # wikipedia projects to articles AND NOT page_namespace in (2, 3) AND NOT (page_namespace, rd_namespace) in ((0, 100), (4, 5), (4, 12), (5, 13), (4, 100), (5, 101), (2, 3), (12, 4), (12, 9), (100, 4), (4, 8), (5, 9), (9, 12), (4, -1), (0, 14), (10, 100), (11, 101), (118, 2), (10, 828), (4, 0), (4, 10), (4, 14), (4, 15), (4, 108), (10, 8), (10, 8), (12, 10), (5, 4), (15, 5), (11, 5), (1, 4), (1, 5), (1, 101), (5, 11), (10, 4), (11, 4), (5, 1), (7, 1), (100, 10), (829, 11)) # articles to portal, wikipedia to wikipedia talk, wikipedia to help, wikipedia talk to help talk, wikipedia to portal # from wikipedia talk to portal talk, user and user talk, help to wikipedia, help to media wiki talk, portal to wikipedia, # wikipedia to media wiki, wikipedia talk to media wiki talk, media wiki talk to help, wikipedia to special, articles to category, # template to portal, template talk to portal talk, draft to user, from template to module, from template talk to module talk AND NOT (page_namespace = 4 AND page_title = 'ועדת_בוררים/בקשות') AND NOT (page_namespace = 4 AND page_title = 'ועדת_בוררים/ניווט') AND NOT (page_namespace = 4 AND page_title = 'מפגשים_ירושלמים') AND NOT (page_namespace = 4 AND page_title = 'מזנון/דף_משתמש_של_חכם_חנוכה') AND NOT (page_namespace = 5 AND page_title = 'גבולות/פורנוגרפיה/פשרת_eman') AND NOT (page_namespace = 5 AND page_title = 'פרסונה_נון_גרטה/טיוטת_נוהל') AND NOT (page_namespace = 5 AND page_title = 'פרסונה_נון_גרטה') AND NOT (page_namespace = 10 AND page_title = 'תמונות_משתמש_MathKnight') AND NOT (page_namespace = 10 AND page_title = 'תמונות_משתמש_נחמיה_ג') AND NOT (page_namespace = 4 AND page_title like "מסדר_ניקיון/%") AND NOT (rd_namespace = 2 AND rd_title = "Deror_avi/טיוטה") AND NOT (page_namespace = 119 AND rd_namespace = 1 AND page_title = rd_title AND EXISTS (SELECT * FROM page AS p1 WHERE p1.page_namespace = 118 AND p1.page_title = rd_title))
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...