X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FSetup.php;h=2e083d83cd93075de3e37e2bca8a8c1294bc30a4;hb=634f48b9d09648ec38781d222d186513e96b9ab7;hp=4f5ac92b23f54b3a6fc6d227b20f03c868904f6c;hpb=0b580213bfaaa2cc9d48cc55777843cb24beaf55;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Setup.php b/includes/Setup.php index 4f5ac92b23..2e083d83cd 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -377,10 +377,6 @@ if ( $wgInvalidateCacheOnLocalSettingsChange ) { $wgCacheEpoch = max( $wgCacheEpoch, gmdate( 'YmdHis', @filemtime( "$IP/LocalSettings.php" ) ) ); } -if ( $wgAjaxUploadDestCheck ) { - $wgAjaxExportList[] = 'SpecialUpload::ajaxGetExistsWarning'; -} - if ( $wgNewUserLog ) { # Add a new log type $wgLogTypes[] = 'newusers'; @@ -397,6 +393,15 @@ if ( $wgCookieSecure === 'detect' ) { $wgCookieSecure = ( WebRequest::detectProtocol() === 'https' ); } +if ( $wgRC2UDPAddress ) { + $wgRCFeeds['default'] = array( + 'formatter' => 'IRCColourfulRCFeedFormatter', + 'uri' => "udp://$wgRC2UDPAddress:$wgRC2UDPPort/$wgRC2UDPPrefix", + 'add_interwiki_prefix' => &$wgRC2UDPInterwikiPrefix, + 'omit_bots' => &$wgRC2UDPOmitBots, + ); +} + // Disable MWDebug for command line mode, this prevents MWDebug from eating up // all the memory from logging SQL queries on maintenance scripts global $wgCommandLineMode;