https://bugzilla.wikimedia.org/show_bug.cgi?id=36957

Smallman <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |

--- Comment #3 from Smallman <[email protected]> 2012-05-18 22:19:36 
UTC ---
I'm trying to use it from the api prop=globalusage and its broken. 

For example:

https://en.wikipedia.org/w/api.php?action=query&prop=globalusage&titles=File:Mural%20in%20Northeast%20Pavillion,%20Thomas%20Jefferson%20Building%20by%20Elmer%20E.%20Garnsey%2011670u%20edit.jpg

So now I have to add in the imageusage from the api list=imageusage, and I have
to make the call to the commons api, or I'll miss the commons images.

https://commons.wikimedia.org/w/api.php?action=query&prop=globalusage&titles=File:Mural%20in%20Northeast%20Pavillion,%20Thomas%20Jefferson%20Building%20by%20Elmer%20E.%20Garnsey%2011670u%20edit.jpg&guprop=pageid&list=imageusage&iutitle=File:Mural%20in%20Northeast%20Pavillion,%20Thomas%20Jefferson%20Building%20by%20Elmer%20E.%20Garnsey%2011670u%20edit.jpg

Also, when I make a call from another wiki, enwiki, the commons page doesn't
return the pageid, and acts as if its missing.

https://en.wikipedia.org/w/api.php?action=query&prop=globalusage&titles=File:Mural%20in%20Northeast%20Pavillion,%20Thomas%20Jefferson%20Building%20by%20Elmer%20E.%20Garnsey%2011670u%20edit.jpg

Also, does gufilterlocal work? Could you provide a working example?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to