Aude has uploaded a new change for review.

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

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
(cherry picked from commit b86b417aa6969d927056fc30409abd6cf748e8b5)
---
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/87/169687/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/169687
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: wmf/1.25wmf6
Gerrit-Owner: Aude <[email protected]>
Gerrit-Reviewer: Thiemo Mättig (WMDE) <[email protected]>

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

Reply via email to