Topic on Talk:MediaWiki 1.19

Common.css - what's new?

4
(talkcontribs)

What exactly means

New common*.css files usable by skins instead of having to copy piles of generic styles from MonoBook or Vector's css.

Is that a feature for extensions which define their own skins? What does the "*" stand for? I can't find any Bug report or Revision linked to it. Don't we already have standard.css for "generic styles"?

MarkAHershberger (talkcontribs)

We've consolidated the CSS into skins/common/common*.css. See r95837 for the beginning of this.

(talkcontribs)

Ah, thanks for the hint. But they are not loadable as own modules? I think they, most clearly the commonElements.css, would be a great base for a myskin.css.

88.130.82.244 (talkcontribs)

Check out resources/Resources.php to see how this is done e.g. for the Vector skin. You will notice that you can use these files as a basis for any skin without having to copy them (I guess that was the reason for doing this seperation).

Reply to "Common.css - what's new?"