[Mediawiki-l] remove sitenotice from main page only?

Tom Moitie Tom at aba.co.uk
Fri Feb 13 09:18:19 UTC 2009


Hi Derrick,

Sorry, it needs to be 

body.page-Home #siteNotice {
       display:none;
} 

In monobook.css

-----Original Message-----
From: mediawiki-l-bounces at lists.wikimedia.org
[mailto:mediawiki-l-bounces at lists.wikimedia.org] On Behalf Of ekompute
Sent: 13 February 2009 09:15
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] remove sitenotice from main page only?

Hi Derrick, let me try and see at your site but I am no expert. It
worked for me, though.

PM Poon

On Fri, Feb 13, 2009 at 5:14 PM, ekompute <ekompute at gmail.com> wrote:

>
>
> On Fri, Feb 13, 2009 at 5:09 PM, Derrick Farnell < 
> derrick.farnell at gmail.com> wrote:
>
>> Thanks! It doesn't seem to work, though. It's actually the 
>> Anonnotice, and the main page is called Home, but it doesn't work 
>> whether I use Home or Main_page:
>>
>> http://www.chainsofreason.org/wiki/MediaWiki:Monobook.css
>>
>> I've tried doing a hard refresh.
>>
>> Should the code perhaps be added to this file instead:
>>
>> http://www.chainsofreason.org/wiki/MediaWiki:Common.css
>>
>> If so, how should I amend the existing code?
>>
>> Derrick
>>
>>
>> On Fri, Feb 13, 2009 at 8:55 AM, ekompute <ekompute at gmail.com> wrote:
>> > Hi Derrick,
>> >
>> > Type:  body.page-Main_Page #siteNotice,
>> >
>> > in Monobook.css. The command is similar to the rest of  /* Don't 
>> > display some stuff on the main page */ that you find at the top of
that page.
>> >
>> > PM Poon
>> >
>> >
>> > On Fri, Feb 13, 2009 at 4:00 PM, Derrick Farnell
>> > <derrick.farnell at gmail.com>wrote:
>> >
>> >> Hi
>> >>
>> >> I'd like a sitenotice to appear on all pages but the main page - 
>> >> is this possible?
>> >>
>> >> Thanks in advance
>> >>
>> >> Derrick
>> >>
>> >> _______________________________________________
>> >> MediaWiki-l mailing list
>> >> MediaWiki-l at lists.wikimedia.org
>> >> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>> >>
>> > _______________________________________________
>> > MediaWiki-l mailing list
>> > MediaWiki-l at lists.wikimedia.org
>> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>> >
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l at lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>
>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l



More information about the MediaWiki-l mailing list