r77521 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77520‎ | r77521 | r77522 >
Date:02:54, 1 December 2010
Author:kaldari
Status:ok
Tags:
Comment:
adding comment
Modified paths:
  • /trunk/extensions/LandingCheck/SpecialLandingCheck.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LandingCheck/SpecialLandingCheck.php
@@ -23,6 +23,7 @@
2424 $language = $wgRequest->getVal( 'language', 'en' );
2525
2626 $country = $wgRequest->getVal( 'country' );
 27+ // If no country was passed, try to do GeoIP lookup
2728 if ( !$country && function_exists( geoip_country_code_by_name ) ) {
2829 $ip = wfGetIP();
2930 if ( IP::isValid( $ip ) ) {

Status & tagging log