Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -3681,7 +3681,20 @@ |
3682 | 3682 | $wgEnableSorbs = false; |
3683 | 3683 | |
3684 | 3684 | /** |
3685 | | - * List of DNS blacklists to use, if $wgEnableDnsBlacklist is true |
| 3685 | + * List of DNS blacklists to use, if $wgEnableDnsBlacklist is true. This is an |
| 3686 | + * array of either a URL or an array with the URL and a key (should the blacklist |
| 3687 | + * require a key). For example: |
| 3688 | + * @code |
| 3689 | + * $wgDnsBlacklistUrls = array( |
| 3690 | + * // String containing URL |
| 3691 | + * 'http.dnsbl.sorbs.net', |
| 3692 | + * // Array with URL and key, for services that require a key |
| 3693 | + * array( 'dnsbl.httpbl.net', 'mykey' ), |
| 3694 | + * // Array with just the URL. While this works, it is recommended that you |
| 3695 | + * // just use a string as shown above |
| 3696 | + * array( 'opm.tornevall.org' ) |
| 3697 | + * ); |
| 3698 | + * @endcode |
3686 | 3699 | * @since 1.16 |
3687 | 3700 | */ |
3688 | 3701 | $wgDnsBlacklistUrls = array( 'http.dnsbl.sorbs.net.' ); |