Hello,

I've been looking at this parameter in skin.json and its implementation seems a bit weird to me (or I might just not understand it properly). My original goal was to flat out disable OOJS-UI since the default themes (WikimediaUI and Apex) do not really look good on dark skins, and even on light skins are only implemented on half the pages (and don't look at extensions that are not deployed on Wikipedia). Since just flat out disabling doesn't seem to be possible as special pages enable it directly, my next goal was to create a custom class for a OOJS-UI theme that basically doesn't apply any styles. to do that I added

"SkinOOUIThemes": {
    "liquiflow": "Blank"
}

to my skins skin.json and loaded a class

<?php
namespace OOUI;
class BlankTheme extends Theme {}

However now the wiki tries to load a style from "$IP/resources/lib/oojs-ui/oojs-ui-core-blank.css" and this seems to be not customizable. Am i doing this wrong or is this implementation just not possible? Adding a CSS file right there seems like a core hack which i want to avoid, ideally I'd like to not even load a CSS file in the first place.


Cheers

Alex


_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to