r94488 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94487‎ | r94488 | r94489 >
Date:05:12, 15 August 2011
Author:skizzerz
Status:ok
Tags:
Comment:
* Follow-up r92673: add documentation on how to use $wgDnsBlacklistUrls to DefaultSettings (lifted from the Manual page on mediawiki.org)
Modified paths:
  • /trunk/phase3/includes/DefaultSettings.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/DefaultSettings.php
@@ -3681,7 +3681,20 @@
36823682 $wgEnableSorbs = false;
36833683
36843684 /**
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
36863699 * @since 1.16
36873700 */
36883701 $wgDnsBlacklistUrls = array( 'http.dnsbl.sorbs.net.' );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r92673* $wgDnsBlacklistUrls now accepts an array with url and key as the elements t...skizzerz20:12, 20 July 2011

Status & tagging log