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

The mobile version of the watchlist editing page. More...

+ Inheritance diagram for SpecialMobileEditWatchlist:
+ Collaboration diagram for SpecialMobileEditWatchlist:

Public Member Functions

 execute ( $mode)
 The main entry point for the page.
 
 getAssociatedNavigationLinks ()
 @inheritDoc
 

Static Public Member Functions

static getEmptyListHtml ( $feed, $lang)
 Get the HTML needed to show if a user doesn't watch any page, show information how to watch pages where no pages have been watched.
 

Protected Member Functions

 outputSubtitle ()
 Renders the subheader.
 
 getLineHtml (MobilePage $mp)
 Gets the HTML fragment for a watched page.
 
 executeViewEditWatchlist ()
 Renders the view/edit (normal) mode of the watchlist.
 
 getViewHtml (MobileCollection $collection)
 

Protected Attributes

 $offsetTitle
 

Detailed Description

The mobile version of the watchlist editing page.

Deprecated
in future this should be the core SpecialEditWatchlist page (T109277)

Member Function Documentation

◆ execute()

SpecialMobileEditWatchlist::execute ( $mode)

The main entry point for the page.

Parameters
string | null$modeWhether the user is viewing, editing, or clearing their watchlist

◆ getEmptyListHtml()

static SpecialMobileEditWatchlist::getEmptyListHtml ( $feed,
$lang )
static

Get the HTML needed to show if a user doesn't watch any page, show information how to watch pages where no pages have been watched.

Parameters
bool$feedRender as feed (true) or list (false) view?
Language$langThe language of the current mode
Returns
string

◆ getLineHtml()

SpecialMobileEditWatchlist::getLineHtml ( MobilePage $mp)
protected

Gets the HTML fragment for a watched page.

The client uses a very different structure for client-rendered items in PageListItem.hogan.

Parameters
MobilePage$mpa definition of the page to be rendered.
Returns
string

◆ getViewHtml()

SpecialMobileEditWatchlist::getViewHtml ( MobileCollection $collection)
protected
Parameters
MobileCollection$collectionCollection of pages to get view for
Returns
string html representation of collection in watchlist view

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