Aude has submitted this change and it was merged.

Change subject: Revert "Actually put wb.client.getMwApiForRepo in wb.client"
......................................................................


Revert "Actually put wb.client.getMwApiForRepo in wb.client"

wb.client doesn't exist, thus this broke client.
This reverts commit 8b58cdfca624ab1505788b9b08022eaf1e0ae8b3.

Change-Id: I451bb60f2d1f8363af41d0ddc21571f9dd9f69a6
---
M client/resources/wikibase.client.getMwApiForRepo.js
M client/resources/wikibase.client.linkitem.init.js
2 files changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Aude: Verified; Looks good to me, approved



diff --git a/client/resources/wikibase.client.getMwApiForRepo.js 
b/client/resources/wikibase.client.getMwApiForRepo.js
index f02cc5e..6b5b9e0 100644
--- a/client/resources/wikibase.client.getMwApiForRepo.js
+++ b/client/resources/wikibase.client.getMwApiForRepo.js
@@ -5,7 +5,7 @@
 ( function( mw, wb ) {
        'use strict';
 
-       var MODULE = wb.client;
+       var MODULE = wb;
 
        /**
         * @return {mediaWiki.Api}
diff --git a/client/resources/wikibase.client.linkitem.init.js 
b/client/resources/wikibase.client.linkitem.init.js
index 2219342..e24ef4b 100644
--- a/client/resources/wikibase.client.linkitem.init.js
+++ b/client/resources/wikibase.client.linkitem.init.js
@@ -31,7 +31,7 @@
                                $linkItemLink
                                .show()
                                .linkitem( {
-                                       mwApiForRepo: 
wikibase.client.getMwApiForRepo(),
+                                       mwApiForRepo: 
wikibase.getMwApiForRepo(),
                                        pageTitle: ( new mw.Title(
                                                mw.config.get( 'wgTitle' ),
                                                mw.config.get( 
'wgNamespaceNumber' )

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I451bb60f2d1f8363af41d0ddc21571f9dd9f69a6
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: wmf/1.25wmf5
Gerrit-Owner: Hoo man <[email protected]>
Gerrit-Reviewer: Aude <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to