Manual:$wgShowHostnames/en

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