HomePhabricator

Have mobile.usermodule cache invalidate properly

Authored by Legoktm.

Description

Have mobile.usermodule cache invalidate properly

Use OutputPage::addModuleStyles() & OutputPage::addModuleScripts() which
will create the necessary mw.loader.load call and <link> tag, just like
GlobalCssJs does.

The module is now loaded for all users, instead of just logged out ones.
This is so it can be properly used as a dependency.

A separate mobile.usermodule.styles module was created so it can use
position => top.

Also remove the misleading 'dependencies' from Resources.php which
doesn't actually work.

Bug: T102554
Change-Id: Ib6f7db3d62b5659965a2d641718a2a0cb94d38ad

Details

Committed
LegoktmAug 25 2015, 8:33 PM
Parents
rEMFR41ddf7fa52e9: Fix font size of oojs-ui component
Branches
Unknown
Tags
Unknown
References
refs/changes/53/233653/2
ChangeId
Ib6f7db3d62b5659965a2d641718a2a0cb94d38ad