The mobile version of the watchlist editing page.
More...
|
|
| __construct (private readonly HookContainer $hookContainer, private readonly RepoGroup $repoGroup, WatchedItemStoreInterface $watchedItemStore,) |
| |
| | execute ( $mode) |
| | The main entry point for the page.
|
| |
|
| getAssociatedNavigationLinks () |
| | @inheritDoc
|
| |
|
| | getWatchlistInfo () |
| | Get a paged list of titles on a user's watchlist, excluding talk pages, and return as a two-dimensional array with namespace and title.
|
| |
| | getLineHtml (MobilePage $mp) |
| | Gets the HTML fragment for a watched page.
|
| |
|
| executeViewEditWatchlist () |
| | Renders the view/edit (normal) mode of the watchlist.
|
| |
| | getViewHtml (MobileCollection $collection) |
| |
|
|
readonly string | $offsetTitle |
| |
The mobile version of the watchlist editing page.
- Deprecated
- in future this should be the core SpecialEditWatchlist page (T109277)
◆ execute()
| SpecialMobileEditWatchlist::execute |
( |
| $mode | ) |
|
The main entry point for the page.
- Parameters
-
| string | null | $mode | Whether 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 | $mp | a definition of the page to be rendered. |
- Returns
- string
◆ getViewHtml()
- Parameters
-
| MobileCollection | $collection | Collection of pages to get view for |
- Returns
- string html representation of collection in watchlist view
◆ getWatchlistInfo()
| SpecialMobileEditWatchlist::getWatchlistInfo |
( |
| ) |
|
|
protected |
Get a paged list of titles on a user's watchlist, excluding talk pages, and return as a two-dimensional array with namespace and title.
- Returns
- array
The documentation for this class was generated from the following file:
- includes/specials/SpecialMobileEditWatchlist.php