Alexis Moinet wrote:
I changed this in myskin.php (which actually is a copy
of monobook.php)
<h1 class="firstHeading"><?php $this->text('title')
?></h1>
becomes
<?php if($this->haveData('title') != 'Main Page'){ ?>
<h1 class="firstHeading"><?php $this->text('title')
?></h1>
<?php } ?>
is that a correct way to do it ?
I think it will work, however you should use wfMsgForContent('mainpage')
instead of the hard-coded 'Main Page', if you change the site language
or just the main page name.
However, I'm not sure you should do that in myskin.php – maybe in
MonoBook.php.
--
#define Name RotemLiss
#define Mail mailSTRUDELrotemlissDOTcom
#define Site
www.rotemliss.com