jenkins-bot has submitted this change and it was merged.

Change subject: Fix broken option in jquery.wikibase.linkitem.js
......................................................................


Fix broken option in jquery.wikibase.linkitem.js

This mistake was introduced in Ibae5bfc. It makes the client widget
unusable. Please backport this fix since it is on the live site as
far as I can tell.

Change-Id: Ia12eda93408a5d4a0f0efa2dcc45b3fbbdd51446
---
M client/resources/jquery.wikibase/jquery.wikibase.linkitem.js
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Adrian Lang: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/client/resources/jquery.wikibase/jquery.wikibase.linkitem.js 
b/client/resources/jquery.wikibase/jquery.wikibase.linkitem.js
index 008d35b..bb9c37e 100644
--- a/client/resources/jquery.wikibase/jquery.wikibase.linkitem.js
+++ b/client/resources/jquery.wikibase/jquery.wikibase.linkitem.js
@@ -347,7 +347,7 @@
                this.targetArticle = $( '#wbclient-linkItem-page' ).val();
 
                this._pageConnector = new wb.PageConnector(
-                       new wb.RepoApi( this._mwApiForRepo ),
+                       new wb.RepoApi( this.options.mwApiForRepo ),
                        this.options.globalSiteId,
                        this.options.pageTitle,
                        this.targetSite,

-- 
To view, visit https://gerrit.wikimedia.org/r/169684
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia12eda93408a5d4a0f0efa2dcc45b3fbbdd51446
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Thiemo Mättig (WMDE) <[email protected]>
Gerrit-Reviewer: Adrian Lang <[email protected]>
Gerrit-Reviewer: Aude <[email protected]>
Gerrit-Reviewer: Hoo man <[email protected]>
Gerrit-Reviewer: JanZerebecki <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to