Santhosh has uploaded a new change for review.
https://gerrit.wikimedia.org/r/191254
Change subject: When cxserver is not reachable show error message in dashboard
......................................................................
When cxserver is not reachable show error message in dashboard
Show same error message we show in translation view
Bug: T89708
Change-Id: I4e768f31ae827d8bf93db259eb8cf1478a405885
---
M modules/source/ext.cx.source.selector.js
1 file changed, 1 insertion(+), 0 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ContentTranslation
refs/changes/54/191254/1
diff --git a/modules/source/ext.cx.source.selector.js
b/modules/source/ext.cx.source.selector.js
index 69a24d8..7604190 100644
--- a/modules/source/ext.cx.source.selector.js
+++ b/modules/source/ext.cx.source.selector.js
@@ -132,6 +132,7 @@
response.statusText + ' (' +
response.status + '). ' +
response.responseText
);
+ mw.hook( 'mw.cx.error' ).fire( mw.msg(
'cx-error-server-connection' ) );
} );
};
--
To view, visit https://gerrit.wikimedia.org/r/191254
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4e768f31ae827d8bf93db259eb8cf1478a405885
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: master
Gerrit-Owner: Santhosh <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits