Jeroen De Dauw has submitted this change and it was merged. Change subject: Remove unused mw reference in RepoApi, expand alias ......................................................................
Remove unused mw reference in RepoApi, expand alias Change-Id: I2358da92546829d42435577ca792fedd089bea0d --- M lib/resources/wikibase.RepoApi/wikibase.RepoApi.js 1 file changed, 6 insertions(+), 6 deletions(-) Approvals: Jeroen De Dauw: Looks good to me, approved diff --git a/lib/resources/wikibase.RepoApi/wikibase.RepoApi.js b/lib/resources/wikibase.RepoApi/wikibase.RepoApi.js index ca9248b..c079bea 100644 --- a/lib/resources/wikibase.RepoApi/wikibase.RepoApi.js +++ b/lib/resources/wikibase.RepoApi/wikibase.RepoApi.js @@ -5,7 +5,7 @@ * @author H. Snater < mediaw...@snater.com > * @author Marius Hoch < h...@online.de > */ -( function( mw, wb, $ ) { +( function( wb, $ ) { 'use strict'; /** @@ -14,7 +14,7 @@ * @since 0.5 (in 0.4 without constructor parameters, in 0.3 as wb.Api without support for client * usage) * - * @param {mw.Api} api + * @param {mediaWiki.Api} api * * @throws {Error} if parameters are not specified properly. */ @@ -28,7 +28,7 @@ $.extend( wb.RepoApi.prototype, { /** - * @type mw.Api + * @type mediaWiki.Api */ _api: null, @@ -509,7 +509,7 @@ * Submits the AJAX request to the API of the repo and triggers on the response. This will * automatically add the required 'token' information for editing into the given parameters * sent to the API. - * @see mw.Api.post + * @see mediaWiki.Api.post * * @param {Object} params parameters for the API call * @return {jQuery.Promise} @@ -536,7 +536,7 @@ /** * Performs an API get request. - * @see mw.Api.get + * @see mediaWiki.Api.get * @since 0.3 * * @param {Object} params @@ -552,4 +552,4 @@ } } ); -}( mediaWiki, wikibase, jQuery ) ); +}( wikibase, jQuery ) ); -- To view, visit https://gerrit.wikimedia.org/r/170930 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I2358da92546829d42435577ca792fedd089bea0d Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Adrian Lang <adrian.l...@wikimedia.de> Gerrit-Reviewer: Hoo man <h...@online.de> Gerrit-Reviewer: Jeroen De Dauw <jeroended...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits