[21:11:00] Hi all, I am starting to use the MediaWiki API. I would like to work with some files on WIkimedia Commons that may have been renamed such as this one: https://commons.wikimedia.org/wiki/File:LL-Q33810_(ori)-Psubhashish-%E0%AC%97%E0%AD%81%E0%AC%B2%E0%AC%A4%E0%AC%B0%E0%AC%BE%E0%AC%B8%E0%AD%8D.wav [21:11:33] Is there a way to retrieve the new name of such file that has been moved via the Mediawiki API? [21:12:15] For now, I just have the basics: https://commons.wikimedia.org/w/api.php?action=query&titles=File:LL-Q33810%20(ori)-Psubhashish-%E0%AC%97%E0%AD%81%E0%AC%B2%E0%AC%A4%E0%AC%B0%E0%AC%BE%E0%AC%B8%E0%AD%8D.wav [21:13:03] and I would like to have additional field with "File:Or-ଗୁଲତରାସ୍.wav" as value [21:13:17] does anyone know how to achieve that? [21:31:28] Pamputt: if it was renamed with a redirect in-place, then the API query can be set to follow redirects. https://www.mediawiki.org/wiki/API:Query#Resolving_redirects [21:31:47] Pamputt: if the person renaming the file decided to break connection with the previous name and not leave a redirect, then this cannot be done automatically [21:32:14] however the information is still available as a log entry in that case [21:32:57] it doesn't provide a guruantee in that case that it is still about the same file as the log entry only tells you the rename took place, not that it relates to what is currently existing in the destination name etc, but depending on how you use it, it is a good signal for where to find a (potential) replacement. [21:33:13] https://www.mediawiki.org/wiki/API:Logevents [21:36:07] https://commons.wikimedia.org/w/api.php?format=json&formatversion=2&action=query&letitle=File:LL-Q33810%20(ori)-Psubhashish-%E0%AC%97%E0%AD%81%E0%AC%B2%E0%AC%A4%E0%AC%B0%E0%AC%BE%E0%AC%B8%E0%AD%8D.wav&list=logevents&letype=move [22:10:30] Krinkle thank you very much for the explanations. I think it is enough for what I have to do for now.