I already had fixed that. Here's a link to my Monobook.js:
htt
p://pynchonwiki.com/against-the-day/index.php?
title=MediaWiki:Monobook.js
and here's a link to the home page:
http://pyncho
nwiki.com/against-the-day/
If you view source, you'll see the problem, just before the
close of
the head tag.
Thanks.
Tim
> It may be the way that the email split that line.
Everything from
> document.write till the end should be on the same line
(no line
> breaks).
>
> Tim
>
> 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
|