You could use the CSS extension [1] to simply hide the display on the Main
Page. I haven't tested it, but syntax like this on the Main Page should
work (with the CSS extension enabled):

{{ #css:
    #siteNotice { display:none; }
}}


[1] https://www.mediawiki.org/wiki/Extension:CSS

Greg Rundlett
https://eQuality-Tech.com
https://freephile.org

On Wed, May 3, 2017 at 3:51 AM, Jean Valjean <jeanvaljean2...@gmail.com>
wrote:

> How do I put up a sitenotice for all pages except one (e.g. Main Page)? I
> want the main page to have my current content, and all other pages to have
> a notice saying their content is just an archive.
>
> I notice that when I put {{FULLPAGENAME}} in MediaWiki:Sitenotice, it
> always says "MediaWiki:Sitenotice".
>
> Otherwise, I would use an #ifeq.
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to