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
Edgars2007
.
Toggle Highlighting
SQL
use lvwiki_p; SELECT CONCAT('# [[', disc.page_namespace, ':', page.page_title, ']] (', DATE_FORMAT(rev_timestamp, '%e %b %Y, %H:%i'), ')') FROM redirect JOIN page ON rd_from = page_id INNER JOIN page AS disc ON page.page_title = disc.page_title JOIN revision ON disc.page_latest = rev_id #JOIN s51223__lists_p.x_namespaces AS nstalk ON disc.page_namespace = nstalk.x_nsnumber #JOIN s51223__lists_p.x_namespaces AS nspage ON (disc.page_namespace - 1) = nspage.x_nsnumber WHERE page.page_namespace = 0 AND disc.page_namespace = 1 AND page.page_is_redirect = 1 AND disc.page_is_redirect = 0 ORDER BY rev_timestamp, page.page_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...