Santhosh has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/378655 )
Change subject: mw.cx.init.Translation: Pass the config to translation model ...................................................................... mw.cx.init.Translation: Pass the config to translation model Fix the missing argument to the Translation model instance Change-Id: I251aaf8055c0e10568d4c96612e3c9f5a8e615ff --- M modules/mw.cx.init.Translation.js 1 file changed, 2 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ContentTranslation refs/changes/55/378655/1 diff --git a/modules/mw.cx.init.Translation.js b/modules/mw.cx.init.Translation.js index 6c78230..08ed387 100644 --- a/modules/mw.cx.init.Translation.js +++ b/modules/mw.cx.init.Translation.js @@ -70,7 +70,8 @@ this.translationModel = new mw.cx.dm.Translation( this.sourceWikiPage, this.targetWikiPage, - sourcePageContent.segmentedContent + sourcePageContent.segmentedContent, + this.config ); // Initialize translation controller this.translationController = new mw.cx.TranslationController( -- To view, visit https://gerrit.wikimedia.org/r/378655 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I251aaf8055c0e10568d4c96612e3c9f5a8e615ff Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/ContentTranslation Gerrit-Branch: master Gerrit-Owner: Santhosh <santhosh.thottin...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits