https://bugzilla.wikimedia.org/show_bug.cgi?id=9330

Bawolff (Brian Wolff) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Bawolff (Brian Wolff) <[email protected]> ---
(In reply to comment #1)

> As the HTTP_HOST code which existed in MediaWiki 1.9 :
> https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blame;
> f=includes/DefaultSettings.php;
> hb=1ceeed99432e2715b958df4810a94d3e8f4ea2fa#l43
> does not exist in the current codebase anymore:
> https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blame;
> f=includes/DefaultSettings.php;h=6a4f6a60a37f40e063585f16b0abe77472c6a7f8;
> hb=HEAD

that's because it got moved to WebRequest::detectServer...

However, with that said, newer versions of MW set the host (and port) at
install time, so this issue is much less likely to strike [while, I suppose if
the installer mis-detects that would still cause badness]. If you are still
having problems with host/port auto-detection the correct work around is to set
$wgServer = "http://mywebsite.com:8080";; or whatever your server is, in you
LocalSettings.php (and still re-open the bug, because the auto-detection should
work)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to