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
Blahma
.
This query generates a wikitext list of all user sandboxes that were last changed less than 2 weeks ago, along with a direct link to the user's contributions, link to the user's talk page (which might be a red link so far), and an asterisk if the sandbox is new (i.e. was created within the last 2 weeks). The list is ordered by descending date of the sandbox's last modification, which is also shown.
Toggle Highlighting
SQL
select concat('# [[Speciální:Příspěvky/', replace(substring_index(page_title, '/', 1), '_', ' '), '|', replace(substring_index(page_title, '/', 1), '_', ' '), ']] ([[Diskuse s wikipedistou:', replace(substring_index(page_title, '/', 1), '_', ' '), '|d]] [[Wikipedista:', replace(page_title, '_', ' '), '|', (select date_format(rev_timestamp, '%Y-%m-%d') from cswiki_p.revision where rev_id = page_latest), ']]', if((select min(rev_timestamp) from cswiki_p.revision where rev_page = page_id and rev_parent_id = 0) > timestamp(date_sub(now(), interval 2 week)), ' *', ''), ')') as wikitext from cswiki_p.page where page_namespace = 2 and page_title LIKE '%/Pískoviště' and page_latest >= (select min(rev_id) from cswiki_p.revision where rev_timestamp > timestamp(date_sub(now(), interval 2 week))) order by page_latest 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...