List<Page> categoryMembers = p.getRelatedPages(Page.RelatedPages.CATEGORY_MEMBERS);
if (categoryMembers == null) {
addItem(
submenu1, null, GT._("Reload category members"), true,
new ReloadCategoryMembersAction(wiki, p, null));
} else {
for (Page p2 : categoryMembers) {
boolean already = false;
for (Page p3 : links) {
if (Page.areSameTitle(p2.getTitle(), p3.getTitle())) {