Aude has uploaded a new change for review.
https://gerrit.wikimedia.org/r/169686
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/86/169686/1
diff --git a/client/resources/jquery.wikibase/jquery.wikibase.linkitem.js
b/client/resources/jquery.wikibase/jquery.wikibase.linkitem.js
index 39b5aeb..8dc128c 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/169686
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.25wmf5
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