[Mediawiki-l] remove prefix in title

Sam Odio sam at bluwiki.com
Mon Nov 13 12:05:37 UTC 2006


On Nov 10, 2006, at 4:56 AM, Alexis Moinet wrote:
Ok, I'm deeply sorry, I didn't read carefully, I thought you were  
talking about urls (which I'm still wondering whether it can be used  
without User: )

to remove this, in monobook.php (1.8.2) , find the line :

<h1 class="firstHeading"><?php $this->data['displaytitle']!=""?$this- 
 >html('title'):$this->text('title') ?></h1>

and replace the two ('title') with ('titletext')

<h1 class="firstHeading"><?php $this->data['displaytitle']!=""?$this- 
 >html('titletext'):$this->text('titletext') ?></h1>

Alexis

PS : same thing in the <head> of monobook.php : change <title><?php  
$this->text('pagetitle') ?></title> to <title><?php $this->text 
('titletext') ?></title>




Does anyone know if this works in other versions of MediaWiki and  
with other skins?  I can't seem to get it to work in 1.6.7 with a  
custom skin.

-s
http://BluWiki.com




More information about the MediaWiki-l mailing list