User "NeilK" posted a comment on MediaWiki.r87258.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/87258#c16523
Commit summary:

FlickrChecker fixes, follow-up to r87002 and r87031

Comment:

The arguments for getJSON are strange. Are you sure this works? I couldn't get 
it to do anything.

I'm not sure what you're trying to do with the '?jsoncallback=?', especially 
since you define apiUrl as already having a trailing '?' elsewhere. So doesn't 
that make '??jsoncallback=?' ?

If you just don't want a JSON callback, you can use nojsoncallback=1. This 
worked for me:

this.apiUrl = 'http://api.flickr.com/services/rest';
apiKey = 'blah blah key here';
$.getJSON( apiUrl, { nojsoncallback: 1, format : 'json', api_key: apiKey, 
method : 'flickr.panda.getList'  } );

_______________________________________________
MediaWiki-CodeReview mailing list
mediawiki-coderev...@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to