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 |
Methods
loadWatchlist() → {jQuery.Deferred}
Load the list of items on the watchlist
Returns:
- Type
- jQuery.Deferred
parseData(data) → {Array.<Page>}
Parse api response data into pagelist item format
Parameters:
Name | Type | Description |
---|---|---|
data |
Array.<Object> |
Returns:
- Type
- Array.<Page>