r111883 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111882‎ | r111883 | r111884 >
Date:19:47, 19 February 2012
Author:nikerabbit
Status:ok
Tags:
Comment:
Google api has been discontinued from beginning of the year
Modified paths:
  • /trunk/extensions/Translate/Translate.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/Translate.php
@@ -325,9 +325,8 @@
326326 * );
327327 * </pre>
328328 *
329 - * For Google and Apertium, you should get an API key.
 329+ * For Apertium, you should get an API key.
330330 * @see http://wiki.apertium.org/wiki/Apertium_web_service
331 - * @see http://code.google.com/apis/ajaxsearch/key.html
332331 *
333332 * The translation services are provided with the following information:
334333 * - server ip address
@@ -345,13 +344,6 @@
346345 'type' => 'ttmserver',
347346 'public' => false,
348347 );
349 -$wgTranslateTranslationServices['Google'] = array(
350 - 'url' => 'http://ajax.googleapis.com/ajax/services/language/translate',
351 - 'key' => null,
352 - 'timeout-sync' => 3,
353 - 'timeout-async' => 6,
354 - 'type' => 'google',
355 -);
356348 $wgTranslateTranslationServices['Microsoft'] = array(
357349 'url' => 'http://api.microsofttranslator.com/V2/Http.svc/Translate',
358350 'key' => null,

Status & tagging log