HomePhabricator

Don't load oojs-ui.styles on every page

Authored by Catrope.

Description

Don't load oojs-ui.styles on every page

We don't really need it to render the no-JS version
of the notification badges (the only rule we were missing
was background-repeat: no-repeat;) and it significantly
increased the amount of render-blocking CSS.

This means we do need to call setupOOUI() ourselves
in order for our get_class( OOUI\Theme::singleton() ) hack
to keep working.

Bug: T112401
Change-Id: I148f8ac19dfe62cc84abe03e1a2ff00683d515c1

Details

Committed
CatropeSep 14 2015, 10:38 AM
Parents
rECHO14db9fd09d27: Localisation updates from https://translatewiki.net.
Branches
Unknown
Tags
Unknown
ChangeId
I148f8ac19dfe62cc84abe03e1a2ff00683d515c1