[Mediawiki-l] new template and user-specific js / css

Alistair Johnson JohnsonA at rembrandt.co.nz
Wed Mar 9 22:20:59 UTC 2005


Surely does, thanks Brion :-)

al.
-----Original Message-----
From: Brion Vibber [mailto:brion at pobox.com]
Sent: Thursday, 10 March 2005 11:15 a.m.
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] new template and user-specific js / css

Alistair Johnson wrote:
> I've started with monobook and copied \skins\monobook.php and
> \skins\monobook\* to \skins\test.php and skins\test\* respectively.  I've
> changed the mentions of "monobook" to "test".  The template created works
> fine under firefox, but not IE.  IE complains about an error in the
> generated js code which I've tracked down to a call in RawPage.php "echo
> $sk->getUserJs();".  I've commented that out and all is now fine - but I'd
> prefer not to change the codebase.
>
> Can anyone advise what I need to do to either (1) disable the opportunity
to
> run user specific css / js in my new "test" template; or (2) fix my newly
> created "test" template so the user-specific css/js works properly.

Copy [[MediaWiki:Monobook.js]] to [[MediaWiki:Test.js]] and see if that
helps.

-- brion vibber (brion @ pobox.com)



More information about the MediaWiki-l mailing list