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
 

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

◆ 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: