Thanks. This is probably the correct approach. But how do we
escape
the curly brackets? After I edited Monobook.js to include
this code
and the loaded the home page and did a "view
source", it showed that
the script's document.write ends after the ending curly
bracket on
the style.
Tim
> Another option is to disable the display of the
"Main Page" header on
> the Main Page only. That should allow you to place any
other
> heading on
> the page that you like, without actually changing the
name of the
> page.
> To do this, edit the page MediaWiki:Monobook.js and add
the following
> text:
>
>
> if (isMainPage && !isDiff)
> {
> document.write('<style
type="text/css">/*<![CDATA[*/ #lastmod,
> #siteSub,
> #contentSub, h1.firstHeading { display: none
!important; }
> /*]]>*/</style>'); }
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
|