https://bugzilla.wikimedia.org/show_bug.cgi?id=62990
Aaron Schulz <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #2 from Aaron Schulz <[email protected]> --- Actually it would probably make more sense to just not use this. There are 3 extensions that use getip_* methods: aaron@aaron-notebook-hdx:/var/www/CephWiki/core (master)$ grep -r geoip_ extensions/ extensions/DonationInterface/gateway_common/DonationData.php: if ( function_exists( 'geoip_country_code_by_name' ) ) { extensions/DonationInterface/gateway_common/DonationData.php: $country = @geoip_country_code_by_name( $ip ); extensions/LandingCheck/SpecialLandingCheck.php: if ( !$country && function_exists( 'geoip_country_code_by_name' ) ) { extensions/LandingCheck/SpecialLandingCheck.php: $country = geoip_country_code_by_name( $ip ); extensions/FundraiserLandingPage/FundraiserRedirector.body.php: if ( function_exists( 'geoip_country_code_by_name' ) ) { extensions/FundraiserLandingPage/FundraiserRedirector.body.php: $country = geoip_country_code_by_name( $ip ); After discussing this with Ori, we thought it best to just make a GeoIP MediaWiki extension that uses the geo location cookies set by Varnish and exposes a simple PHP class for fetching this info. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
