Manual:$wgDisableAnonTalk

Category:MediaWiki configuration settings#DisableAnonTalkCategory:MediaWiki configuration settings introduced before version 1.1.0#DisableAnonTalkCategory:MediaWiki configuration settings still in use#DisableAnonTalkCategory:Recent changes variables#DisableAnonTalk
Recent changes, new pages, watchlist and history: $wgDisableAnonTalk
Disable talk pages for anonymous users (not logged in).
Introduced in version:Before 1.1.0
Removed in version:Still in use
Allowed values:(boolean)
Default value:false

Details

Disable links to talk pages of anonymous users (IPs) in listings on special pages like page history, recent changes, 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['anontalk'] );
	return true;
}
Category:MediaWiki configuration settings Category:MediaWiki configuration settings introduced before version 1.1.0 Category:MediaWiki configuration settings still in use Category:Recent changes variables