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

            Bug ID: 63584
           Summary: API responds with "mediatype": "VIDEO" for an audio
                    file
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: API
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: maic...@yahoo.com
                CC: bjor...@wikimedia.org, bryan.tongm...@gmail.com,
                    roan.katt...@gmail.com, s...@reedyboy.net
       Web browser: ---
   Mobile Platform: ---

Steps to reproduce:
https://commons.wikimedia.org//w/api.php?action=query&prop=imageinfo&format=xml&iiprop=mediatype&titles=File%3APresident%20Obama%20Speaks%20to%20the%20Muslim%20World%20from%20Cairo%2C%20Egypt%20%28audio%29.ogg

Actual Result:
<imageinfo><ii mediatype="VIDEO"/></imageinfo>

Expected Result:
<imageinfo><ii mediatype="AUDIO"/></imageinfo>

Note that TMH returns the correct value for the file in question:
https://commons.wikimedia.org/wiki/File:President_Obama_Speaks_to_the_Muslim_World_from_Cairo,_Egypt_%28audio%29.ogg

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to