In MediaWiki:Anonnotice, change the code so it's surrounded by <div
id="anonnotice">   </div>

Then in either monobook.css/common.css:
body.page-Home #anonnotice {
       display:none;
}

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Derrick
Farnell
Sent: 13 February 2009 09:34
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] remove sitenotice from main page only?

When I change 'siteNotice' in the code to 'Anonnotice', the anonnotice
is displayed again on the Home page - is it only possible to remove BOTH
sitenotices and anonnotices from a particular page, rather than just
one?

Derrick


On Fri, Feb 13, 2009 at 9:26 AM, Tom Moitie <[email protected]> wrote:
> When I looked at the source, I couldn't find any "anonnotice" so I 
> just assumed that that top notice - the "siteNotice" was the one you 
> wanted to remove.
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Derrick 
> Farnell
> Sent: 13 February 2009 09:25
> To: MediaWiki announcements and site admin list
> Subject: Re: [Mediawiki-l] remove sitenotice from main page only?
>
> That works - thanks very much to both of you!
>
> However, will the below code also remove sitenotice - not just 
> anonnotice - from the front page?
>
> Derrick
>
>
> On Fri, Feb 13, 2009 at 9:18 AM, Tom Moitie <[email protected]> wrote:
>> Hi Derrick,
>>
>> Sorry, it needs to be
>>
>> body.page-Home #siteNotice {
>>       display:none;
>> }
>>
>> In monobook.css
>>
>> -----Original Message-----
>> From: [email protected]
>> [mailto:[email protected]] 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 <[email protected]> wrote:
>>
>>>
>>>
>>> On Fri, Feb 13, 2009 at 5:09 PM, Derrick Farnell < 
>>> [email protected]> 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 <[email protected]>
> 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
>>>> > <[email protected]>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
>>>> >> [email protected]
>>>> >> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>>> >>
>>>> > _______________________________________________
>>>> > MediaWiki-l mailing list
>>>> > [email protected]
>>>> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>>> >
>>>>
>>>> _______________________________________________
>>>> MediaWiki-l mailing list
>>>> [email protected]
>>>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>>>
>>>
>>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> [email protected]
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> [email protected]
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>
> _______________________________________________
> MediaWiki-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
> _______________________________________________
> MediaWiki-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>

_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to