Tweaks for skins:
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 21 Aug 2008 14:09:57 +0000 (14:09 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 21 Aug 2008 14:09:57 +0000 (14:09 +0000)
commit177b1e264a717475b2571c9643dab79ba3cfea58
tree94c2959fdcb7e239014e6ada960fdabb7960d548
parent609ad548356c595e8a2f8fbf70ea8ae7a0965e18
Tweaks for skins:
* Moved SkinTemplate::addStyle() and related stuff to OutputPage so that it can be used non-SkinTemplate skins and avoid duplication with the actual OutputPage::addStyle() (the two functions have the same format).
* Non-SkinTemplate skins now also load their CSS with <link> tags instead of @import.
* Moved SkinTemplate::setupUserCss() to Skin.
* Merged action=raw&gen=(js|css) for SkinTemplate and non-SkinTemplate skins, renamed functions to Skin::generateUserJs() and Skin::generateUserStyleSheet() and dropped a lot of cascading call which is a bit incomprehensible.
includes/OutputPage.php
includes/RawPage.php
includes/Skin.php
includes/SkinTemplate.php
skins/Chick.php
skins/CologneBlue.php
skins/Modern.php
skins/MonoBook.php
skins/MySkin.php
skins/Simple.php
skins/Standard.php