Thiemo Mättig (WMDE) has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/169684

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/84/169684/1

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: newchange
Gerrit-Change-Id: Ia12eda93408a5d4a0f0efa2dcc45b3fbbdd51446
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Thiemo Mättig (WMDE) <[email protected]>

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

Reply via email to