MobileFrontend
Mobile optimised frontend for MediaWiki
|
Adds the mobileformat
param to API calls which use ApiParse.
More...
Static Public Member Functions | |
static | isParseAction (string $action) |
Check if an API action can have the mobileformat param. | |
static | onAPIGetAllowedParams (ApiBase $module, &$params) |
APIGetAllowedParams hook handler. | |
Adds the mobileformat
param to API calls which use ApiParse.
The param should be used in conjunction with the useskin
paramater (to ensure ApiParse is in skin mode), and will cause MobileFrontend's onOutputPageBeforeHTML to apply mobile-specific page transformations.
|
static |
Check if an API action can have the mobileformat param.
string | $action |
|
static |
APIGetAllowedParams hook handler.
ApiBase | $module | |
array | bool | &$params | Array of parameters |