MobileFrontend
MobileoptimisedfrontendforMediaWiki
|
Adds a special page with mobile specific preferences. More...
Public Member Functions | |
doesWrites () | |
setJsConfigVars () | |
Set the required config for the page. | |
execute ( $par='') | |
Render the special page. More... | |
![]() | |
__construct ( $page) | |
executeWhenAvailable ( $subPage) | |
Executes the page when available in the current $mode. More... | |
setHeaders () | |
Add modules to headers and wrap content in div.content if unstyledContent = true. | |
isListed () | |
Returns if this page is listed on Special:SpecialPages. More... | |
getDesktopUrl ( $subPage) | |
When overridden in a descendant class, returns desktop URL for this special page. More... | |
Protected Attributes | |
$hasDesktopVersion = true | |
![]() | |
$hasDesktopVersion = false | |
$mode = 'stable' | |
$listed = false | |
$unstyledContent = true | |
$config = null | |
$errorNotFoundTitleMsg = 'mobile-frontend-generic-404-title' | |
$errorNotFoundDescriptionMsg = 'mobile-frontend-generic-404-desc' | |
$mobileContext | |
Additional Inherited Members | |
![]() | |
renderUnavailableBanner ( $msg) | |
Renders a banner telling the user the page is unavailable. More... | |
addModules () | |
Add mobile special page specific modules (styles and scripts) | |
showPageNotFound () | |
Render mobile specific error page, when special page can not be found. | |
Adds a special page with mobile specific preferences.
SpecialMobileOptions::doesWrites | ( | ) |
SpecialMobileOptions::execute | ( | $par = '' | ) |
Render the special page.
string | null | $par | Parameter submitted as subpage |
Reimplemented from MobileSpecialPage.