Manual:$wgSend404Code/zh

细节
网页服务器支持没发现请求的页面时发送404响应. 如果有人想加载一个不存在的页面的话，Mediawiki会响应404. 注意，编辑不存在的页面是不会响应404的. 一些网页服务器托管商会拦截404响应而显示为“友好的”404响应页，这挺烦人的. 而另一些网页服务器托管商在拦截404响应会出现错误，输出一堆垃圾信息. 这两种情况，你可以考虑换个网页服务器托管商，如果实在不行，这个设置会帮到你. If someone tries to load an article that doesn't exist, MediaWiki sends a 404 status. (Note, editing an article that doesn't exist does not send a 404 status) Some webservers try to intercept 404 responses and give "helpful" 404 response pages, which is quite annoying. Some webservers get the 404 intercepts severely wrong, causing garbage to be output. In either case, you should consider looking for a new web host, but if that's not an option then this setting can work around the issue.

更改
自从版本后，这个设置也对“action=history”有效.