r87363 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87362‎ | r87363 | r87364 >
Date:22:32, 3 May 2011
Author:kaldari
Status:ok
Tags:
Comment:
removing extra ?s
Modified paths:
  • /trunk/extensions/UploadWizard/resources/mw.FlickrChecker.js (modified) (history)

Diff [purge]

Index: trunk/extensions/UploadWizard/resources/mw.FlickrChecker.js
@@ -36,7 +36,7 @@
3737 var photoIdMatches = url.match(/flickr.com\/photos\/[^\/]+\/([0-9]+)/);
3838 if ( photoIdMatches && photoIdMatches[1] > 0 ) {
3939 var photoId = photoIdMatches[1];
40 - $.getJSON( this.apiUrl + '?jsoncallback=?', { 'method': 'flickr.photos.getInfo', 'api_key': this.apiKey, 'photo_id': photoId, 'format': 'json' },
 40+ $.getJSON( this.apiUrl + 'jsoncallback=?', { 'method': 'flickr.photos.getInfo', 'api_key': this.apiKey, 'photo_id': photoId, 'format': 'json' },
4141 function( data ) {
4242 if ( typeof data.photo != 'undefined' ) {
4343 // The returned data.photo.license is just an ID that we use to look up the license name
@@ -62,7 +62,7 @@
6363 * Retrieve the list of all current Flickr licenses and store it in an array (mw.FlickrChecker.licenseList)
6464 */
6565 getLicenses: function() {
66 - $.getJSON( this.apiUrl + '?jsoncallback=?', { 'method': 'flickr.photos.licenses.getInfo', 'api_key': this.apiKey, 'format': 'json' },
 66+ $.getJSON( this.apiUrl + 'jsoncallback=?', { 'method': 'flickr.photos.licenses.getInfo', 'api_key': this.apiKey, 'format': 'json' },
6767 function( data ) {
6868 if ( typeof data.licenses != 'undefined' ) {
6969 $.each( data.licenses.license, function(index, value) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r87258FlickrChecker fixes, follow-up to r87002 and r87031kaldari17:24, 2 May 2011

Status & tagging log