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

           Summary: ImageInfo API query returns descriptionUrl = false if
                    file comes from local repository
           Product: MediaWiki
           Version: wikimedia-deployment
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: API
        AssignedTo: roan.katt...@gmail.com
        ReportedBy: lupo.bugzi...@gmail.com
                CC: bryan.tongm...@gmail.com, s...@reedyboy.net,
                    vasi...@gmail.com, soxre...@gmail.com


Compare the output of the two following queries:

http://commons.wikimedia.org/w/api.php?action=query&titles=File:Albert%20Einstein%20Head.jpg&prop=imageinfo&iiprop=url&format=jsonfm

http://en.wikipedia.org/w/api.php?action=query&titles=File:Albert%20Einstein%20Head.jpg&prop=imageinfo&iiprop=url&format=jsonfm

The file resides at the Commons. When the query is run at the Commons,
descriptionurl is false; when run at the English Wikipedia, it is set correctly
to the file description page at the Commons.

Trying the same query for a file that actually is at en-WP:

http://en.wikipedia.org/w/api.php?action=query&titles=File:Kouprey%20at%20Vincennes%20Zoo%20in%20Paris%20by%20Georges%20Broihanne%201937.jpg&prop=imageinfo&iiprop=url&format=jsonfm

Again descriptionurl is false.

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

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to