Oliver Schalch wrote :
Yes I should learn to be more specific. I want to
remove the whole
functionality of the mytalk/user_talk function, yes remove the "my talk"
link topright on page. So your 2nd point is right at the begining. No
Click/Read/Edit.
for the "mytalk link removal", there are two (or more) ways :
one is simply to add this in skins/monobook/main.css (assuming you're using monobook)
#pt-mytalk a {
display: none;
}
but it's not very clean (the <li> <li/>element is still there and this
cause an unwanted blank space), maybe some css trick might do it allright ?
the other method is to change the code of includes/SkinTemplate.php (but you'll need
to do this each time you upgrade mediawiki because SkinTemplate.php will be reseted to
"default" source code)
find the function: buildPersonalUrls() and comment the lines about mytalk :
/*$usertalkUrlDetails = $this->makeTalkUrlDetails($this->userpage);
$personal_urls['mytalk'] = array(
'text' => wfMsg('mytalk'),
'href' => &$usertalkUrlDetails['href'],
'class' => $usertalkUrlDetails['exists']?false:'new',
'active' => ( $usertalkUrlDetails['href'] == $pageurl )
);
*/
I don't know about completely removing access to NS_USER_TALK namespace
but I found this on this mailing list :
http://thread.gmane.org/gmane.org.wikimedia.mediawiki/2769/focus=2769