GWicke has uploaded a new change for review.
https://gerrit.wikimedia.org/r/69948
Change subject: Slightly prettier debug logging on API URI mismatch
......................................................................
Slightly prettier debug logging on API URI mismatch
Change-Id: Icbdf91effbcfbf7fdf52a98b99105d775bdf50cc
---
M js/lib/mediawiki.ApiRequest.js
1 file changed, 5 insertions(+), 5 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Parsoid
refs/changes/48/69948/1
diff --git a/js/lib/mediawiki.ApiRequest.js b/js/lib/mediawiki.ApiRequest.js
index f6f13b8..a707e9d 100644
--- a/js/lib/mediawiki.ApiRequest.js
+++ b/js/lib/mediawiki.ApiRequest.js
@@ -396,11 +396,11 @@
var lang = bits[2];
if (lang !== this.env.conf.wiki.lang) {
var conf = this.env.conf;
- console.error( 'ERROR: Invalid expandtemplates
API response!! ' +
- 'parsoid.apiURI: ' +
conf.parsoid.apiURI +
- 'wiki.apiURI: ' +
conf.wiki.apiURI +
- 'wiki.iwp: ' + conf.wiki.iwp +
- 'returned lang: ' + lang );
+ console.error( 'ERROR: Invalid expandtemplates
API response!!' +
+ '\n\tparsoid.apiURI: ' +
conf.parsoid.apiURI +
+ '\n\twiki.apiURI: ' +
conf.wiki.apiURI +
+ '\n\twiki.iwp: ' +
conf.wiki.iwp +
+ '\n\treturned lang: ' + lang );
}
}
--
To view, visit https://gerrit.wikimedia.org/r/69948
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icbdf91effbcfbf7fdf52a98b99105d775bdf50cc
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Parsoid
Gerrit-Branch: master
Gerrit-Owner: GWicke <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits