User:WikiSysop: Difference between revisions

From CSDMS
m how to remove the discussion tab
m Changed my homepage
Line 1: Line 1:
===Changes to the wiki software made since --[[User:WikiSysop|WikiSysop]] 11:37, 5 November 2008 (MST)===
=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!


==== Remove 'discussion tab' from Page edit toolkit --[[User:WikiSysop|WikiSysop]] 11:38, 5 November 2008 (MST)====
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:


<geshi lang="php">
<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);
</geshi>
</syntaxhighlight>
and change that to:
and change that to:


<geshi lang="php">
<syntaxhighlight lang="php">
/*
/*
$content_actions[’talk’] = $this->tabAction(
$content_actions[’talk’] = $this->tabAction(
Line 25: Line 28:
true);
true);
*/
*/
</geshi>
</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);
*/