Rillke has uploaded a new change for review. https://gerrit.wikimedia.org/r/113971
Change subject: Typography ...................................................................... Typography Using code spans (`) when referring to code, if/it was mixed up, consistently writing Flickr (ucfirst). Change-Id: Ifaef9f6b14166a896bd1cd5cd6d7a5a3ba8b791d --- M resources/mw.FlickrChecker.js 1 file changed, 6 insertions(+), 6 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/UploadWizard refs/changes/71/113971/1 diff --git a/resources/mw.FlickrChecker.js b/resources/mw.FlickrChecker.js index febb9e7..3c5270b 100644 --- a/resources/mw.FlickrChecker.js +++ b/resources/mw.FlickrChecker.js @@ -21,7 +21,7 @@ /** * Cache for Flickr blacklist lookups. * Resolves to a hash whose keys are the blacklisted Flickr NSIDs. - * Use FlickrChecker.getBlacklist() instead of accessing this directly. + * Use `FlickrChecker.getBlacklist()` instead of accessing this directly. * @type {jQuery.Promise} */ mw.FlickrChecker.blacklist = null; @@ -44,7 +44,7 @@ }, /** - * If a photo is from flickr, retrieve its license. If the license is valid, display the license + * If a photo is from Flickr, retrieve its license. If the license is valid, display the license * to the user, hide the normal license selection interface, and set it as the deed for the upload. * If the license is not valid, alert the user with an error message. If no recognized license is * retrieved, do nothing. Note that the license look-up system is fragile on purpose. If Flickr @@ -117,7 +117,7 @@ }, /** - * Reserves a filename; used by mw.FlickrChecker.getFileNameFromItem() which tries to + * Reserves a filename; used by `mw.FlickrChecker.getFileNameFromItem()` which tries to * avoid returning a filename which is already reserved. * This works even when the filename was reserved in a different FlickrChecker instance. * @param {String} fileName @@ -166,7 +166,7 @@ /** * Retrieves a list of photos in group pool and displays it. - * @param groupPoolMatches result of this.url.match + * @param groupPoolMatches result of `this.url.match` * @see {@link getPhotos} */ getGroupPool: function( groupPoolMatches ) { @@ -495,7 +495,7 @@ /** * Checks a user against the blacklist. Both the NSID and the path_alias (if it exists) MUST be * supplied, as the blacklist will probably only contain one of them. (Users don't have a - * path_alias in the beginning, and must set it manually; it it does not exist, it can be left + * path_alias in the beginning, and must set it manually; if it does not exist, it can be left * undefined, or an empty string can be supplied (which is what the Flickr API usually returns * as the path_alias for such users). * @param {String} nsid Flickr NSID of the author @@ -539,7 +539,7 @@ }, /** - * Retrieve the list of all current Flickr licenses and store it in an array (mw.FlickrChecker.licenseList) + * Retrieve the list of all current Flickr licenses and store it in an array (`mw.FlickrChecker.licenseList`) */ getLicenses: function() { var checker = this; -- To view, visit https://gerrit.wikimedia.org/r/113971 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ifaef9f6b14166a896bd1cd5cd6d7a5a3ba8b791d Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/UploadWizard Gerrit-Branch: master Gerrit-Owner: Rillke <rainerril...@hotmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits