Manual:$wgDisableAnonTalk

From MediaWiki.org
Jump to: navigation, search
This page is a translated version of the page Manual:$wgDisableAnonTalk and the translation is 43% complete.

Other languages:
English • ‎español • ‎日本語 • ‎polski • ‎русский
Users: $wgDisableAnonTalk
Disable talk pages for anonymous users (not logged in).
導入されたバージョン: pre 1.1.0
除去されたバージョン: 使用中
可能な値: 真偽値
既定値: false
他の設定: アルファベット順 | 機能順

詳細[edit]

Disable links to talk pages of anonymous users (IPs) in listings on special pages like page history, Special:Recentchanges, etc.

This does not disable the talk page itself, nor does it remove the "mytalk" link anonymous visitors see on top of every page. For that, use the PersonalUrls hook to remove the link to the talk page of anonymous users:

$wgHooks['PersonalUrls'][] = 'lfRemoveAnonUserpageLink';
function lfRemoveAnonUserpageLink( &$personal_urls, $title ) {
	unset( $personal_urls['anonuserpage'] );
	return true;
}