On itwiki we noticed that, on certain pages, mobile style isn't loaded. For instance, this happens here, where the class sinottico isn't loaded and thus breaks the infobox. I did a little bit of investigation on my local machine and found out that the culprit might be https://gerrit.wikimedia.org/r/#/c/420405/. Specifically, this if evaluates to false and style isn't loaded; actually, when should it evaluate to true? It asks for a global variable which defaults to false and which, as far as I could see, is never changed. Anyway, I'm not sure that the one I exposed is the real cause, but certainly inverting that if makes the style come back.
From the user's perspective, the symptom is Mobile.css being not applied.
Developer notes
- Drop the dependencies entry on mobile.site - https://gerrit.wikimedia.org/r/#/c/420405/4/extension.json - it's not necessary and is overriding the default.
Acceptance criteria
- Loading mobile.site also loads mobile.site.styles