[Mediawiki-l] remove sitenotice from main page only?
Tom Moitie
Tom at aba.co.uk
Fri Feb 13 09:10:36 UTC 2009
body.page-Home #Anonnotice {
display:none;
}
Should work
-----Original Message-----
From: mediawiki-l-bounces at lists.wikimedia.org
[mailto:mediawiki-l-bounces at lists.wikimedia.org] On Behalf Of Derrick
Farnell
Sent: 13 February 2009 09:09
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] remove sitenotice from main page only?
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
More information about the MediaWiki-l
mailing list