throw new WikiException(new WikiMessage("common.exception.notopic"));
}
pageInfo.setContentJsp(JSP_HISTORY);
pageInfo.setTopicName(topicName);
pageInfo.setPageTitle(new WikiMessage("history.title", topicName));
Pagination pagination = ServletUtil.loadPagination(request, next);
List<RecentChange> changes = WikiBase.getDataHandler().getTopicHistory(
virtualWiki, topicName, pagination, true);
if (changes != null && changes.size() > 0) {
next.addObject("changes", changes);
next.addObject("numChanges", changes.size());