Manual:$wgDisableAnonTalk

From MediaWiki.org
Jump to: navigation, search

Other languages:
English • ‎español • ‎日本語 • ‎polski • ‎русский
Users: $wgDisableAnonTalk
Disable talk pages for anonymous users (not logged in).
Introduced in version: pre 1.1.0
Removed in version: still in use
Allowed values: boolean
Default value: false
Other settings: Alphabetical | By function

Details[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;
}