Translations:Manual:$wgCookieDomain/5/en

By default this isn't set, so php's  function will just set a cookie on the current domain.