This query is marked as a draft This query has been published by Cryptic.

SQL

AخA
 
SELECT CONCAT('[[',
                (CASE log_namespace
                    WHEN 0 THEN ''
                    WHEN 2 THEN 'User:'
                    WHEN 118 THEN 'Draft:'
                    ELSE CONCAT('{{ns:', log_namespace, '}}:')
                END),
                log_title,
                ']]') AS 'Moved from',
        log_params,
        CONCAT('[[User:', log_user_text, '|]]') AS 'Moved by',
        log_comment,
        log_timestamp
FROM logging_logindex
WHERE log_type = 'move'
    AND log_namespace IN (0, 2, 118) -- source in :, User:, or Draft:
    AND log_params RLIKE 'target";s:[0-9]+:"Wikipedia:' -- destination in Wikipedia:
ORDER BY log_timestamp DESC
LIMIT 5;
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.

Checking query status...