jenkins-bot has submitted this change and it was merged.

Change subject: Fix cxserver support
......................................................................


Fix cxserver support

There was an api change without version bump.

https://translatewiki.net/wiki/Thread:Support/WMF_Apertium_is_not_working_for_Asturian

Change-Id: I19884a1d9e84d4d4a2bc55fcbee1ff31e488e9ef
---
M webservices/CxserverWebService.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Santhosh: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/webservices/CxserverWebService.php 
b/webservices/CxserverWebService.php
index c683f7e..8bffcb2 100644
--- a/webservices/CxserverWebService.php
+++ b/webservices/CxserverWebService.php
@@ -61,7 +61,7 @@
 
                return TranslationQuery::factory( $url )
                        ->timeout( $this->config['timeout'] )
-                       ->postWithData( $text );
+                       ->postWithData( array( 'html' => $text ) );
        }
 
        protected function parseResponse( TranslationQueryResponse $reply ) {

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I19884a1d9e84d4d4a2bc55fcbee1ff31e488e9ef
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Translate
Gerrit-Branch: master
Gerrit-Owner: Nikerabbit <[email protected]>
Gerrit-Reviewer: Amire80 <[email protected]>
Gerrit-Reviewer: Santhosh <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to