MobileFrontend
MobileoptimisedfrontendforMediaWiki
MobileFrontend Namespace Reference

Hooks for Advanced Mobile Contributions. More...

Classes

interface  BaseDomainExtractorInterface
 Helper for operations on domain names. More...
 
class  WMFBaseDomainExtractor
 Utility class to find base domain for given host. More...
 

Detailed Description

Hooks for Advanced Mobile Contributions.

User Modes collection.

Temporary class to provide a bridge between old stable mode handling and new Feature management system.

Interface represents user mobile mode.

Represents single mobile feature.

A facade for UserModes and MobileFrontend Features system.

Temporary class to provide a bridge between old Beta mode handling and new Feature management system.

Advanced Mobile Contributions Manager.

Beta mode will be refactored properly in T212802, for now we need an easy way to retrieve information about beta mode.

IMPORTANT: This class provides read-only state, if you want to enable/disable beta mode please use MobileContext classes

FeaturesManager takes care about all available user modes and features It handles relations between mode and features (one to many relation) and allows an easy acecss to single mode/feature so there is no need to retrieve objects from the MediaWikiServices.

As example: Beta Mode

This class exists to provide a safe collection of IUserModes