On 19/03/2008, Roan Kattouw <[EMAIL PROTECTED]> wrote:
> Brianna Laugher schreef:
>
> > Hi,
>  >
>  > This example of API use is given -
>  > api.php?action=query&list=allimages&aisha1=123abc
>  >
>  > I couldn't find any documentation on allimage or aisha1 in the
>  > auto-generated documentation or on mediawiki.org . Would anyone in the
>  > know mind writing up a working example? :)
>
> That's because it's a new feature that hasn't gone live yet. The example
>  above *is* the working example (substituting 123abc for an SHA-1 hash,
>  of course), or at least it will be when the allimages module goes live.
>  You can get an image's SHA-1 hash with:
>
>  api.php?action=query&prop=imageinfo&titles=Image:Foo.jpg&iiprop=sha1

Great stuff. Sorry if I was too keen. ;)

Is there an API equivalent to Special:version? How do you know when
API stuff goes live, just keep waiting and checking?

thanks,
Brianna

-- 
They've just been waiting in a mountain for the right moment:
http://modernthings.org/

_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to