r94683 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94682‎ | r94683 | r94684 >
Date:20:33, 16 August 2011
Author:jamesur
Status:ok
Tags:
Comment:
pass user language through to landing page query string when going through landing check. Default's to en if nothing given.
Modified paths:
  • /trunk/extensions/LandingCheck/SpecialLandingCheck.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LandingCheck/SpecialLandingCheck.php
@@ -42,6 +42,7 @@
4343 'utm_source' => $wgRequest->getVal( 'utm_source' ),
4444 'utm_medium' => $wgRequest->getVal( 'utm_medium' ),
4545 'utm_campaign' => $wgRequest->getVal( 'utm_campaign' ),
 46+ 'language' => $wgRequest->getVal( 'language', 'en'),
4647 'country' => $country,
4748 'referrer' => $wgRequest->getHeader( 'referer' )
4849 ) );

Status & tagging log