Dinth a ?crit :
in monobook.php change :
<h1 class="firstHeading"><?php $this->text('title') ?></h1>
into
<?php if($this->haveData('title') != wfMsgForContent('mainpage')){ ?>
<h1 class="firstHeading"><?php $this->text('title') ?></h1> <?php } ?>
How make this affects 'Main Page' and 'Main Page/Page 1', 'Main Page/Page 2', etc?
this should work :
<?php if( $this->haveData('title') != wfMsgForContent('mainpage') && strncmp( $this->haveData('title'), wfMsgForContent('mainpage') . "/" , strlen(wfMsgForContent('mainpage')) + 1 ) != 0 ) { ?> <h1 class="firstHeading"><?php $this->text('title') ?></h1> <?php } ?>
It works but not with all my Main Pages. On http://www.wikipasy.pl - It works with "Encyklopedia KS Cracovia online", "Encyklopedia KS Cracovia online/Hokej mezczyzn", "Encyklopedia KS Cracovia online/Koszykowka mezczyzn", but not with "Encyklopedia KS Cracovia online/Siatkowka mezczyzn"