From: Ryan Schmidt Date: Mon, 15 Aug 2011 05:12:56 +0000 (+0000) Subject: * Follow-up r92673: add documentation on how to use $wgDnsBlacklistUrls to DefaultSet... X-Git-Tag: 1.31.0-rc.0~28265 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=b921ebcb7f85dd356122475f75e6214fc1d0153a;p=lhc%2Fweb%2Fwiklou.git * Follow-up r92673: add documentation on how to use $wgDnsBlacklistUrls to DefaultSettings (lifted from the Manual page on mediawiki.org) --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 240ec13755..b5d6701023 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -3681,7 +3681,20 @@ $wgEnableDnsBlacklist = false; $wgEnableSorbs = false; /** - * List of DNS blacklists to use, if $wgEnableDnsBlacklist is true + * List of DNS blacklists to use, if $wgEnableDnsBlacklist is true. This is an + * array of either a URL or an array with the URL and a key (should the blacklist + * require a key). For example: + * @code + * $wgDnsBlacklistUrls = array( + * // String containing URL + * 'http.dnsbl.sorbs.net', + * // Array with URL and key, for services that require a key + * array( 'dnsbl.httpbl.net', 'mykey' ), + * // Array with just the URL. While this works, it is recommended that you + * // just use a string as shown above + * array( 'opm.tornevall.org' ) + * ); + * @endcode * @since 1.16 */ $wgDnsBlacklistUrls = array( 'http.dnsbl.sorbs.net.' );