User:WikiSysop: Difference between revisions
From CSDMS
m how to remove the discussion tab |
m Changed my homepage |
||
Line 1: | Line 1: | ||
=== | =How to Wiki= | ||
== Modify "Log in / create account" == | |||
Modify the following file MediaWiki:Nav-login-createaccount | |||
Also, than it is nice to change | |||
== Remove "discussion tab" == | |||
'''''Notice''''': Discussion tab is made active again on this wiki! | |||
This is a ''nasty way'' to remove the discussion tab:<br> | |||
This is a way to remove the discussion tab:<br> | |||
Open \includes\SkinTemplate.php file and look for: | Open \includes\SkinTemplate.php file and look for: | ||
< | <syntaxhighlight lang="php"> | ||
$content_actions[’talk’] = $this->tabAction( | $content_actions[’talk’] = $this->tabAction( | ||
$this->mTitle->getTalkPage(), | $this->mTitle->getTalkPage(), | ||
Line 13: | Line 16: | ||
”, | ”, | ||
true); | true); | ||
</ | </syntaxhighlight> | ||
and change that to: | and change that to: | ||
< | <syntaxhighlight lang="php"> | ||
/* | /* | ||
$content_actions[’talk’] = $this->tabAction( | $content_actions[’talk’] = $this->tabAction( | ||
Line 25: | Line 28: | ||
true); | true); | ||
*/ | */ | ||
</ | </syntaxhighlight> |
Revision as of 09:38, 30 October 2009
How to Wiki
Modify "Log in / create account"
Modify the following file MediaWiki:Nav-login-createaccount Also, than it is nice to change
Remove "discussion tab"
Notice: Discussion tab is made active again on this wiki!
This is a nasty way to remove the discussion tab:
Open \includes\SkinTemplate.php file and look for:
$content_actions[’talk’] = $this->tabAction(
$this->mTitle->getTalkPage(),
‘talk’,
$this->mTitle->isTalkPage(),
”,
true);
and change that to:
/*
$content_actions[’talk’] = $this->tabAction(
$this->mTitle->getTalkPage(),
‘talk’,
$this->mTitle->isTalkPage(),
”,
true);
*/