anchor.diff:  		$currentPort = $currentRequestHostAndPort[1];
   
   		if ( $currentPort !== false ) {
  -			$combined = IP::combineHostAndPort( $canonicalHost, $currentPort );
  +			$combined = \Wikimedia\IPUtils::combineHostAndPort( $canonicalHost, $currentPort );
   			$wgConfWgServer = $combined;
   		} else {
   			// currentPort false just means we were accessed on default port
  
positive.code: 	// Actual //host:port the current web request used, without http/https.
  	$currentRequestServer = preg_replace( '#^[^\/]+#', '', $detectedServer );
  
  	$currentRequestHostAndPort = IP::splitHostAndPort( $currentRequestServer );
  
  	if ( $currentRequestHostAndPort === false ) {
  		// Failure to parse current request, change nothing
  
negative.code: 		// URL this wgConf is about
  		$protocolRelativeCanonical = $wgConfWgServer;
  
  		$canonicalHostAndPort = \Wikimedia\IPUtils::splitHostAndPort( $protocolRelativeCanonical );
  
  		if ( $canonicalHostAndPort === false ) {
  			// Failure to parse this particular wiki, skip it;
  