Jdlrobson has uploaded a new change for review.

Change subject: RL or nothing (story 393 - stable)
......................................................................

RL or nothing (story 393 - stable)

1) simplify MobileFrontend to have 2 modes - one ResourceLoader mode
and 1 where no javascript is run at all

2) allow modules to declare mobiletargets

this cleans up SkinMobile.php so that modules are selected based on
whether 'mobile' is in their targets and they have a relevant
'mobiletargets' set.

mobile targets:
alpha: only load for alpha
beta: only load for beta
stable: always load on mobile
selective: this is only loaded programmatically
stableonly: only loaded on stable

3) Deprecate mwMobileFrontendConfig.messages

Note: we should be able to resourceLoaderLink in future

Change-Id: I933fd2973d30f62d3ab8f6d2ac145581fa3a2960
---
M MobileFrontend.php
M includes/MobileFrontend.body.php
M includes/MobileFrontend.hooks.php
M includes/skins/SkinMobile.php
D javascripts/common/jquery-shim.js
M javascripts/common/main.js
M javascripts/common/mf-application.js
A tests/SkinMobileTest.php
D tests/js/test_jQueryShim.js
9 files changed, 194 insertions(+), 323 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/46/47546/1
--
To view, visit https://gerrit.wikimedia.org/r/47546
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I933fd2973d30f62d3ab8f6d2ac145581fa3a2960
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to