"P" == Platonides Platonides@gmail.com writes:
P> Ilmari Karonen wrote:
It would be better if we could just tell wiki owners to download the CSS file and drop it into the right (common or skin-specific) directory, and it'd automagically start to work.
OK, what I suppose we are now talking about is "I want to use Wikipedia's stylesheets on my wiki"
So we might try one of 1) Tell the browser to get it straight from Wikipedia, via some line in LocalSettings.php. Well even if we could tell the browser of the person reading our wiki to just get them from wikipedia, there are like 12 of them, with complicated URLs. I suppose on an English site, one would want to tell the browser to get http://en.wikipedia.org/w/index.php?title=MediaWiki:Common.css&action=ra... On a zh site, get zh.wikipedia etc.
2) Add a cronjob to get http://en.wikipedia.org/w/index.php?title=MediaWiki:Common.css&action=ra... etc. every night and stick in somewhere in skins/common/ or something. Or use edit.php to paste it into MediaWiki:Common.css ... keeping RecentChanges warm and filling up mysql with wasted revisions.
3) Put all those good styles that have been ending up only in Wikipedia back into Mediawiki where they belong.
(I use emacs' supercite package to do the quoting above.)