[Mediawiki-l] css for namespaces

June Hyeon Bae devunt at devunt.kr
Tue Apr 13 14:29:05 UTC 2010


2010/4/11 Scheid, Bernhard <Bernhard.Scheid at oeaw.ac.at>

> Hi,
>
> I would like to use separate style sheets for different namespaces. I found
> this in MonoBook.php:
>
> <?php   if($this->data['pagecss']) { ?><style type="text/css"><?php
> $this->html('pagecss') ?></style> (line 96 in 1.15)
>
> could there be a similar function? Something like: "If there is a Mediawiki
> page called {{NAMESPACE}}.css, use it"...?
>
> thanks
>
> Bernhard
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>

hmm. What about 1.16?


More information about the MediaWiki-l mailing list