Hello all,
I'm a new user to mediawiki and I'm trying to find a way to prevent the Article title (text title) being visible within the article. For instance Main_Page the Article title would be "Main Page" I would like to hide this / and or replace it with somethjing of my own choosing, for instnce an image / logo.
Is there an easy / quick way to do this?? I don't mind delving into the php. So far I've looked in /include/Article.php /include/Title.php but don't really know where to start. Any help would be much appreciated
Thanks Chimdi
On 15/06/06, Chimdi Ekeke chimdi@gmail.com wrote:
Is there an easy / quick way to do this?? I don't mind delving into the php. So far I've looked in /include/Article.php /include/Title.php but don't really know where to start.
Edit the skin layout file. For the default skin, this is in ./skins/monobook.php. You'll spot a call to $this->data( 'pagetitle' ) or somesuch.
Rob Church
On 6/15/06, Rob Church robchur@gmail.com wrote:
On 15/06/06, Chimdi Ekeke chimdi@gmail.com wrote:
Is there an easy / quick way to do this?? I don't mind delving into the php. So far I've looked in /include/Article.php /include/Title.php but don't really know where to start.
Edit the skin layout file. For the default skin, this is in ./skins/monobook.php. You'll spot a call to $this->data( 'pagetitle' ) or somesuch.
You can also hide it just by editing the global CSS file such as MediaWiki:Standard.css
.ns-0 h1 { display: none }
This will cause the page title to be hidden only in the default namespace for instance. Normally HTML h1 elements are only genereated for the page title but editors could also create them manually in articles if they chose. This CSS code would not discriminate and would hide both.
Andrew Dunbar (hippietrail)
Rob Church _______________________________________________ Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
wikitech-l@lists.wikimedia.org