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
Lopullinen
.
依據討論頁專題模板,由新至舊列出中文維基百科電子遊戲專題頁面。
Toggle Highlighting
SQL
SELECT page.page_id AS id, CASE page.page_namespace WHEN 0 THEN '(Article)' WHEN 2 THEN 'User' WHEN 4 THEN 'Wikipedia' WHEN 6 THEN 'File' WHEN 8 THEN 'MediaWiki' WHEN 10 THEN 'Template' WHEN 12 THEN 'Help' WHEN 14 THEN 'Category' WHEN 100 THEN 'Portal' WHEN 102 THEN 'WikiProject' WHEN 118 THEN 'Draft' WHEN 828 THEN 'Module' ELSE CONCAT('{{ns:', page.page_namespace, '}}') END AS namespace, REPLACE(page.page_title, "_", " ") AS page_title, page.page_is_redirect AS is_redirect, page.page_len AS len, CONCAT( '[[:', CASE page.page_namespace WHEN 0 THEN '' WHEN 2 THEN 'User:' WHEN 4 THEN 'Wikipedia:' WHEN 6 THEN 'File:' WHEN 8 THEN 'MediaWiki:' WHEN 10 THEN 'Template:' WHEN 12 THEN 'Help:' WHEN 14 THEN 'Category:' WHEN 100 THEN 'Portal:' WHEN 102 THEN 'WikiProject:' WHEN 118 THEN 'Draft:' WHEN 828 THEN 'Module:' ELSE CONCAT('{{subst:ns:', page.page_namespace - 1, '}}:') END, page.page_title, "]]" ) AS pagelink, page.page_latest AS latest_oldid FROM page AS temp JOIN categorylinks ON cl_to = '电子游戏条目' AND cl_type = 'page' AND cl_from = temp.page_id JOIN page ON page.page_title = temp.page_title AND page.page_namespace = temp.page_namespace - 1 ORDER BY page.page_id DESC
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...