How do I remove the ugly "Main Page" tittle? I am searching around but when I put Main Page on google obviosly I get every wiki in the world with the works "Main Page" so not helpful at all.
Thanks
On 08/08/07, rek2GNU/Linux rek2@binaryfreedom.info wrote:
How do I remove the ugly "Main Page" tittle? I am searching around but when I put Main Page on google obviosly I get every wiki in the world with the works "Main Page" so not helpful at all.
Pop the following in the MediaWiki:Common.css page:
body.page-Main_Page h1.firstHeading { display: none; }
Rob Church
Thanks Rob, I've been wondering how to do this also. Your solution works for me when I put it in main.css in my default (customized) skin, since I'm not using something that the common skin covers. Is main.css the correct place to put it given these circumstances? (I'm new to wiki and php, etc., so still trying to sort out what goes where).
Thanks, Beth Russell
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Rob Church Sent: Tuesday, August 07, 2007 9:29 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Main Page?
On 08/08/07, rek2GNU/Linux rek2@binaryfreedom.info wrote:
How do I remove the ugly "Main Page" tittle? I am searching around but when I put Main Page on google obviosly I
get
every wiki in the world with the works "Main Page" so not helpful at all.
Pop the following in the MediaWiki:Common.css page:
body.page-Main_Page h1.firstHeading { display: none; }
Rob Church
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Thanks Rob, I've been wondering how to do this also. Your solution works for me when I put it in main.css in my default (customized) skin, since I'm not using something that the common skin covers. Is main.css the correct place to put it given these circumstances?
Besides Common.css, there is also a separate page for each skin; e.g. [[MediaWiki:Monobook.css]]. So you could put that code into [[MediaWiki:FooBar.css]] - if your skin is called "FooBar", obviously. (Also see http://www.mediawiki.org/wiki/Manual:Interface/Stylesheets.)
HTH.
-- F.
mediawiki-l@lists.wikimedia.org