[Mediawiki-l] Remove Main Page header from the main page
Alexis Moinet
alexis.moinet at fpms.ac.be
Fri Jun 2 07:44:33 UTC 2006
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 ?
Kent Sandvik a écrit :
> I tried to google and read the MediaWiki FAQ, but I could not find the
> answer. What's the trick to remove the <h1 class="firstHeading">Main
> Page</h1> and the lines from the main page, so there's no block above
> the contents, similar to the top page in wikipedia? Thx, Kent
More information about the MediaWiki-l
mailing list