GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • history
  • Reedy
  • talk
  • contribs

This view

  • Original page
  • New address

GeezerVison is showing static-codereview.wikimedia.org — r91876 MediaWiki - Code Review archive

r91876 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:< r91875‎ | r91876 | r91877 >
Date:12:26, 11 July 2011
Author:nikerabbit
Status:deferred
Tags:
Comment:
Google suggestions should obey the group source language
Modified paths:
  • /trunk/extensions/Translate/utils/TranslationHelpers.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/utils/TranslationHelpers.php
——@@ -384,7 +384,8 @@
385385 return null;
386386 }
387387
388 - $options = self::makeGoogleQueryParams( $definition, "en|$code", $config );
 388+ $source = $this->group->getSourceLanguage();
 389+ $options = self::makeGoogleQueryParams( $definition, "$source|$code", $config );
389390 $json = Http::post( $config['url'], $options );
390391 $response = FormatJson::decode( $json );
391392

Status & tagging log

  • 19:52, 12 July 2011 Reedy (talk | contribs) changed the status of r91876 [removed: new added: deferred]
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.