Yes, that's the cause.
The url given to @import must include a hostname
so for example if you have certain customizations for the Vector skin,
you could put them in: MediaWiki:Vector.css/Layout.css and from
MediaWiki:Vector.css:
@import
url('http://example.org/w/index.php?title=MediaWiki:Vector
On Feb 27, 2012, at 1:31 PM, nakohdo wrote:
> See http://meta.wikimedia.org/wiki/Help:Embed_page for instructions on how to
> transclude pages.
>
That's for wikitext pages only, not for javascript and css pages. JS/CSS can
only
be included via the native language syntax of javascript and css,
On Feb 24, 2012, at 5:25 PM, HiddenId wrote:
> Hi,
> We've created one page called MediaWiki:CentralCSS.css . This page is
> supposed to "call" css subpages.
>
>
> Then we've created 5 css subpages, called :
> * MediaWiki:Reset.css
> * MediaWiki:Layout.css
> * MediaWiki:Colors.css
> * MediaWiki
See http://meta.wikimedia.org/wiki/Help:Embed_page for instructions on how to
transclude pages.
hth
Frank
--
View this message in context:
http://wikimedia.7.n6.nabble.com/howto-include-different-page-css-into-one-MediaWiki-CentralCSS-css-page-for-organizing-css-cascade-s-tp4503305p4514589.html
Hi,
We've created one page called MediaWiki:CentralCSS.css . This page is supposed
to "call" css subpages.
Then we've created 5 css subpages, called :
* MediaWiki:Reset.css
* MediaWiki:Layout.css
* MediaWiki:Colors.css
* MediaWiki:Typo.css
* MediaWiki:Special.css
Now, we'd like the 5 css subpag