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
(this works already).
Roan Kattouw (Catrope)