* @param pages List of pages in the watch list.
* @throws APIException
*/
private void constructWatchList(List<Page> pages) throws APIException {
final API api = APIFactory.getAPI();
List<Page> tmpPages = api.retrieveRawWatchlist(getWikipedia());
if (tmpPages != null) {
pages.addAll(tmpPages);
}
}
}