手册:$wgShowIPinHeader

This page is a translated version of the page Manual:$wgShowIPinHeader and the translation is 100% complete.
用户账户、身份验证: $wgShowIPinHeader
在匿名用户的用户栏中显示IP。
引进版本:pre 1.1.0
移除版本:1.27.0 (Gerrit change 239649; git #ea335eb5)
允许的值:(布尔值)
默认值:true

详情

为匿名访问者(IP用户)显示个人工具链接(链接到用户页和用户讨论页)。 禁用该功能可以提高缓存性能,因为所有的匿名访客都可以得到每个页面完全相同的版本。

如果$wgUseFileCache 被启用,那么将$wgShowIPinHeader 设置为true并没有作用。相反,在运行时将自动设置为false。