https://bugzilla.wikimedia.org/show_bug.cgi?id=39670
Web browser: ---
Bug #: 39670
Summary: Query for URL of image (prop=imageinfo&iiprop=url)
fails with "Uri::setUri: $uri is not of a valid type."
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: API
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
http://commons.wikimedia.org/w/api.php?action=query&cllimit=500&clprop=hidden&format=json&iilimit=500&iiprop=url&iiurlheight=120&iiurlwidth=120&prop=imageinfo&titles=File%3ALasst%2C%20ihr%20buntbem%C3%BCtzen%20Scharen%2C....ogg
gives both, POSTed and GETed:
{"servedby":"srv300","error":{"code":"internal_api_error_MWException","info":"Exception
Caught: Uri::setUri: $uri is not of a valid type.","*":""}}
File is:
https://commons.wikimedia.org/wiki/File:Lasst,_ihr_buntbem%C3%BCtzen_Scharen,....ogg
Expected behaviour:
* No error
* Return just raw file URL (can't scale audio)
--
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