Manual:$wgShowHostnames

Details
If set to true, exposes host names through API and HTML comments.