On Jul 28, 2014 3:23 AM, "Aaron Lewis" <[email protected]> wrote: > Is there any API to retrieve raw address of an inserted image? > > e.g the original URL might be XXX.com/Image:YY.jpg > > Now I want the raw link, > > e.g XXX.com/a/b/YY.jpg > > Is there any API can do that?
I'm sure the API must have something like that but I haven't looked. (docs are pretty good. I normally just browse the self documenting /api.php without params) the special page route is: * https://en.wiktionary.org/wiki/Special:Redirect/file/Example.jpg * https://en.wiktionary.org/wiki/Special:Redirect Also, please make your key ID longer. http://web.archive.org/web/20140411163938/http://www.asheesh.org/note/debian/short-key-ids-are-bad-news.html (not linking directly because his site's apparently broken atm) -Jeremy _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
