Manual:$wgHTCPMulticastAddress/de-formal
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed from MediaWiki core in version <tvar name=ver>1.24.0</tvar>.</translate> <translate> Please see <tvar name=page>$wgHTCPRouting</tvar> for an alternative way to use this feature.</translate> |
<translate> HTCP multicast purging</translate>: $wgHTCPMulticastAddress | |
---|---|
What address to send udp HTCP purge packets if being used |
|
<translate> Introduced in version:</translate> | 1.4.1 |
<translate> Removed in version:</translate> | 1.24.0 (Gerrit change 150761; git #0eed71b7) |
<translate> Allowed values:</translate> | (IP address) |
<translate> Default value:</translate> | false (1.9-1.23)"224.0.0.85" (1.4.1-1.8) |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Details
Deprecated.
Setting first appeared in 1.4.1, but was commented out in DefaultSettings.php .
Set to false from 1.9.0.
Replaced by $wgHTCPMulticastRouting
in MediaWiki 1.20 and $wgHTCPRouting
in MediaWiki 1.22 and subsequent versions.
HTCP is a method of purging entries from the Squid cache that can use multicast and udp which is faster then opening an http connection to every squid server.
The $wgHTCPMulticastAddress
variable is deprecated as of MediaWiki 1.20.0 but is still recognized by being copied to the new one in includes/Setup.php :
// $wgHTCPMulticastRouting got renamed to $wgHTCPRouting in MediaWiki 1.22
// ensure back compatibility.
if ( !$wgHTCPRouting && $wgHTCPMulticastRouting ) {
$wgHTCPRouting = $wgHTCPMulticastRouting;
}
// Initialize $wgHTCPRouting from backwards-compatible settings that comes from pre 1.20 version.
if ( !$wgHTCPRouting && $wgHTCPMulticastAddress ) {
$wgHTCPRouting = array(
'' => array(
'host' => $wgHTCPMulticastAddress,
'port' => $wgHTCPPort,
)
);
}
See also
Categories:
- MediaWiki configuration settings/de-formal
- MediaWiki configuration settings introduced in version 1.4.1/de-formal
- MediaWiki configuration settings removed in version 1.24.0/de-formal
- Pages with broken file links
- MediaWiki deprecated or obsolete features/de-formal
- HTCP multicast purging variables/de-formal