SQL
AخA
USE dewiki_p;
SELECT CONCAT('[[', REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(page_namespace, '100', 'Portal:'),
'10', 'Vorlage:'),
'14', 'Kategorie:'),
'4', 'Wikipedia:'), /* ist weiter unten auskommentiert */
'0', ''), REPLACE(page_title, '_', ' '), ']]') as Titel,
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(REPLACE(pl_title, '_', ' '), CHAR(14844032), '<U+2000>'),
CHAR(14844033), '<U+2001>'),
CHAR(14844034), '<U+2002>'),
CHAR(14844035), '<U+2003>'),
CHAR(14844036), '<U+2004>'),
CHAR(14844037), '<U+2005>'),
CHAR(14844038), '<U+2006>'),
CHAR(14844039), '<U+2007>'),
CHAR(14844040), '<U+2008>'),
CHAR(14844041), '<U+2009>'),
CHAR(14844042), '<U+200A>'),
CHAR(14844043), '<U+200B>'),
CHAR(14844044), '<U+200C>'),
CHAR(14844045), '<U+200D>'),
CHAR(14844046), '<U+200E>'),
CHAR(14844047), '<U+200F>') as Wikilink
FROM page, pagelinks
WHERE page_id = pl_from
AND page_namespace IN (0, /*4, */ 10, 14, 100) /* Artikel, (Wikipedia), Vorlagen, Kategorien, Portal */
AND (pl_title LIKE CONCAT('%', CHAR(14844032), '%') /* 14844032 ist Hex E28080 und das ist ein 'EN QUAD' (U+2000) */
OR pl_title LIKE CONCAT('%', CHAR(14844033), '%') /* 14844033 ist Hex E28081 und das ist ein 'EM QUAD' (U+2001) */
OR pl_title LIKE CONCAT('%', CHAR(14844034), '%') /* 14844034 ist Hex E28082 und das ist ein 'EN SPACE' (U+2002) */
OR pl_title LIKE CONCAT('%', CHAR(14844035), '%') /* 14844035 ist Hex E28083 und das ist ein 'EM SPACE' (U+2003) */
OR pl_title LIKE CONCAT('%', CHAR(14844036), '%') /* 14844036 ist Hex E28084 und das ist ein 'THREE-PER-EM SPACE' (U+2004) */
OR pl_title LIKE CONCAT('%', CHAR(14844037), '%') /* 14844037 ist Hex E28085 und das ist ein 'FOUR-PER-EM SPACE' (U+2005) */
OR pl_title LIKE CONCAT('%', CHAR(14844038), '%') /* 14844038 ist Hex E28086 und das ist ein 'SIX-PER-EM SPACE' (U+2006) */
OR pl_title LIKE CONCAT('%', CHAR(14844039), '%') /* 14844039 ist Hex E28087 und das ist ein 'FIGURE SPACE' (U+2007) */
OR pl_title LIKE CONCAT('%', CHAR(14844040), '%') /* 14844040 ist Hex E28088 und das ist ein 'PUNCTUATION SPACE' (U+2008) */
OR pl_title LIKE CONCAT('%', CHAR(14844041), '%') /* 14844041 ist Hex E28089 und das ist ein 'THIN SPACE' (U+2009) */
OR pl_title LIKE CONCAT('%', CHAR(14844042), '%') /* 14844042 ist Hex E2808A und das ist ein 'HAIR SPACE' (U+200A) */
OR pl_title LIKE CONCAT('%', CHAR(14844043), '%') /* 14844043 ist Hex E2808B und das ist ein 'ZERO WIDTH SPACE' (U+200B) */
OR pl_title LIKE CONCAT('%', CHAR(14844044), '%') /* 14844044 ist Hex E2808C und das ist ein 'ZERO WIDTH NON-JOINER' (U+200C) */
OR pl_title LIKE CONCAT('%', CHAR(14844045), '%') /* 14844045 ist Hex E2808D und das ist ein 'ZERO WIDTH JOINER' (U+200D) */
OR pl_title LIKE CONCAT('%', CHAR(14844046), '%') /* 14844046 ist Hex E2808E und das ist ein 'LEFT-TO-RIGHT MARK' (U+200E) */
OR pl_title LIKE CONCAT('%', CHAR(14844047), '%') /* 14844047 ist Hex E2808F und das ist ein 'RIGHT-TO-LEFT MARK' (U+200F) */
)
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.