Index: trunk/phase3/includes/User.php |
— | — | @@ -861,9 +861,10 @@ |
862 | 862 | } |
863 | 863 | |
864 | 864 | function inSorbsBlacklist( $ip ) { |
865 | | - global $wgEnableSorbs; |
| 865 | + global $wgEnableSorbs, $wgSorbsUrl; |
| 866 | + |
866 | 867 | return $wgEnableSorbs && |
867 | | - $this->inDnsBlacklist( $ip, 'http.dnsbl.sorbs.net.' ); |
| 868 | + $this->inDnsBlacklist( $ip, $wgSorbsUrl ); |
868 | 869 | } |
869 | 870 | |
870 | 871 | function inDnsBlacklist( $ip, $base ) { |
Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -2059,6 +2059,7 @@ |
2060 | 2060 | * Use http.dnsbl.sorbs.net to check for open proxies |
2061 | 2061 | */ |
2062 | 2062 | $wgEnableSorbs = false; |
| 2063 | +$wgSorbsUrl = 'http.dnsbl.sorbs.net'; |
2063 | 2064 | |
2064 | 2065 | /** |
2065 | 2066 | * Proxy whitelist, list of addresses that are assumed to be non-proxy despite what the other |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -1811,9 +1811,9 @@ |
1812 | 1812 | 'ipb_cant_unblock' => 'Error: Block ID $1 not found. It may have been unblocked already.', |
1813 | 1813 | 'proxyblockreason' => 'Your IP address has been blocked because it is an open proxy. Please contact your Internet service provider or tech support and inform them of this serious security problem.', |
1814 | 1814 | 'proxyblocksuccess' => 'Done.', |
1815 | | -'sorbs' => 'SORBS DNSBL', |
1816 | | -'sorbsreason' => 'Your IP address is listed as an open proxy in the [http://www.sorbs.net SORBS] DNSBL.', |
1817 | | -'sorbs_create_account_reason' => 'Your IP address is listed as an open proxy in the [http://www.sorbs.net SORBS] DNSBL. You cannot create an account', |
| 1815 | +'sorbs' => 'DNSBL', |
| 1816 | +'sorbsreason' => 'Your IP address is listed as an open proxy in the DNSBL used by this site.', |
| 1817 | +'sorbs_create_account_reason' => 'Your IP address is listed as an open proxy in the DNSBL used by this site. You cannot create an account', |
1818 | 1818 | |
1819 | 1819 | |
1820 | 1820 | # Developer tools |