https://bugzilla.wikimedia.org/show_bug.cgi?id=61577
--- Comment #5 from Matthew Flaschen <mflasc...@wikimedia.org> --- (In reply to Isarra from comment #3) > Skins need to be able to specify module dependencies. Otherwise the only way > to make more specific skin styles (such as for a specific page) load after > the main styles is to name them such that they come later in alphabetical > order. This only addresses one your scenarios. However, for this issue (targeting a specific page), you can use CSS specificity, in which case the order won't matter (order only applies if they have the same specificity). First, you need a class. MediaWiki provides these based on page titles (e.g. page-Main_Page). That probably doesn't work for this use case, though. Instead, you can use Skin->addToBodyAttributes and $out->getTitle()->isMainPage() to set a class for the main page (or maybe MW core should do this; MW.org already uses something similar at https://www.mediawiki.org/wiki/MediaWiki:Gadget-site.js). Then, you can do something like: .mw-bluesky-mainpage { // Custom main page styling } in LESS. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l