MobileFrontend
Mobile optimised frontend for MediaWiki
Loading...
Searching...
No Matches
SpecialNearby Class Reference

Provide the Special page "Nearby" with location based articles. More...

+ Inheritance diagram for SpecialNearby:
+ Collaboration diagram for SpecialNearby:

Public Member Functions

 executeWhenAvailable ( $par='')
 Render Special Page Nearby.
 
- Public Member Functions inherited from MobileSpecialPage
 __construct ( $page)
 
 execute ( $subPage)
 Checks the availability of the special page in actual mode and display the page, if available.
 
 setHeaders ()
 Add modules to headers.
 
 isListed ()
 Returns if this page is listed on Special:SpecialPages.
 
 getDesktopUrl ( $subPage)
 When overridden in a descendant class, returns desktop URL for this special page.
 

Protected Member Functions

 getGroupName ()
 
- Protected Member Functions inherited from MobileSpecialPage
 renderUnavailableBanner ( $msg)
 Renders a banner telling the user the page is unavailable.
 
 addModules ()
 Add mobile special page specific modules (styles and scripts)
 
 showPageNotFound ()
 Render mobile specific error page, when special page can not be found.
 
 getUserOptionsLookup ()
 Get a user options lookup object.
 
 getUserGroupManager ()
 Get a user group manager object.
 
 getUserFactory ()
 Get a user factory object for creating UserIdentify object.
 

Protected Attributes

 $hasDesktopVersion = true
 
- Protected Attributes inherited from MobileSpecialPage
 $hasDesktopVersion = false
 
 $listed = false
 
 $config = null
 
 $errorNotFoundTitleMsg = 'mobile-frontend-generic-404-title'
 
 $errorNotFoundDescriptionMsg = 'mobile-frontend-generic-404-desc'
 
 $mobileContext
 
 $userOptionsLookup
 
 $userGroupManager
 
 $userFactory
 
 $commentFormatter
 

Detailed Description

Provide the Special page "Nearby" with location based articles.

Member Function Documentation

◆ executeWhenAvailable()

SpecialNearby::executeWhenAvailable ( $par = '')

Render Special Page Nearby.

Parameters
string | null$parParameter submitted as subpage

Reimplemented from MobileSpecialPage.

◆ getGroupName()

SpecialNearby::getGroupName ( )
protected
Returns
string

The documentation for this class was generated from the following file: