https://www.mediawiki.org/wiki/Special:Code/MediaWiki/111883
Revision: 111883
Author: nikerabbit
Date: 2012-02-19 19:47:27 +0000 (Sun, 19 Feb 2012)
Log Message:
-----------
Google api has been discontinued from beginning of the year
Modified Paths:
--------------
trunk/extensions/Translate/Translate.php
Modified: trunk/extensions/Translate/Translate.php
===================================================================
--- trunk/extensions/Translate/Translate.php 2012-02-19 19:47:14 UTC (rev
111882)
+++ trunk/extensions/Translate/Translate.php 2012-02-19 19:47:27 UTC (rev
111883)
@@ -325,9 +325,8 @@
* );
* </pre>
*
- * For Google and Apertium, you should get an API key.
+ * For Apertium, you should get an API key.
* @see http://wiki.apertium.org/wiki/Apertium_web_service
- * @see http://code.google.com/apis/ajaxsearch/key.html
*
* The translation services are provided with the following information:
* - server ip address
@@ -345,13 +344,6 @@
'type' => 'ttmserver',
'public' => false,
);
-$wgTranslateTranslationServices['Google'] = array(
- 'url' => 'http://ajax.googleapis.com/ajax/services/language/translate',
- 'key' => null,
- 'timeout-sync' => 3,
- 'timeout-async' => 6,
- 'type' => 'google',
-);
$wgTranslateTranslationServices['Microsoft'] = array(
'url' => 'http://api.microsofttranslator.com/V2/Http.svc/Translate',
'key' => null,
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs