r78021 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r78020‎ | r78021 | r78022 >
Date:22:15, 7 December 2010
Author:kaldari
Status:ok
Tags:
Comment:
adding helpful comment
Modified paths:
  • /trunk/extensions/LandingCheck/SpecialLandingCheck.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LandingCheck/SpecialLandingCheck.php
@@ -24,6 +24,7 @@
2525
2626 $country = $wgRequest->getVal( 'country' );
2727 // If no country was passed, try to do GeoIP lookup
 28+ // Requires php5-geoip package
2829 if ( !$country && function_exists( geoip_country_code_by_name ) ) {
2930 $ip = wfGetIP();
3031 if ( IP::isValid( $ip ) ) {

Status & tagging log