awjrichards has submitted this change and it was merged.

Change subject: DeviceDetection improvements
......................................................................


DeviceDetection improvements

* Add a method to detect if user agent is mobile for folks who don't
  have infrastructure as complex as ours, based on current Squid ACLs.
  So far it's not used
* Switch all device capabilities querying to OOP interface
* Use DeviceDetection::factory() which allows to override our device detection
* Refactoring

Change-Id: Ifcd7c34572c6864978d55e775298bae91b64fbb6
---
M includes/DeviceDetection.php
M includes/MobileContext.php
M includes/MobileFrontend.body.php
M includes/skins/SkinMobile.php
M tests/DeviceDetectionTest.php
5 files changed, 136 insertions(+), 62 deletions(-)

Approvals:
  awjrichards: Verified; Looks good to me, approved
  jenkins-bot: Checked


--
To view, visit https://gerrit.wikimedia.org/r/42348
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ifcd7c34572c6864978d55e775298bae91b64fbb6
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: MaxSem <[email protected]>
Gerrit-Reviewer: Jdlrobson <[email protected]>
Gerrit-Reviewer: MaxSem <[email protected]>
Gerrit-Reviewer: awjrichards <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to