Class: WatchListGateway

WatchListGateway(api, lastTitle)

new WatchListGateway(api, lastTitle)

Parameters:
Name Type Description
api mw.Api
lastTitle string

of page listed in Watchlist to be used as a continuation parameter

Source:

Methods

loadWatchlist() → {jQuery.Deferred}

Load the list of items on the watchlist

Source:
Returns:
Type
jQuery.Deferred

parseData(data) → {Array.<Page>}

Parse api response data into pagelist item format

Parameters:
Name Type Description
data Array.<Object>
Source:
Returns:
Type
Array.<Page>