Hi all.
I am developing a set of Ruby libraries for Wikipedia/MediaWiki access:
* low-level:
https://github.com/molybdenum-99/mediawiktory
* high-level (semantic):
https://github.com/molybdenum-99/infoboxer
I have a problem with understanding some files.
For example, this one:
https://en.wikipedia.org/wiki/File:Logo_of_the_Verkhovna_Rada_of_Ukraine.svg
In UI, the page states the file is actually on commons, but the page itself
exists and is accessible.
In API:
https://en.wikipedia.org/w/api.php?action=query&titles=File:Logo_of_the…
-- it is "completely absent" like it is missing totally.
In Commons API it is there OK:
https://commons.wikimedia.org/w/api.php?action=query&titles=File:Logo_o…
Is there a way to tell actually non-existent files from files that are
included from commons, through API? Or "just check on commons, in case it
is there" is the only way?
Thanks in advance.
V.