private void updateSpecialPagePopupMenu() {
    Short special = (Short)popupRow[config.specialcol];
    String article = popupRow[config.articlecol] + "#"
        + popupRow[config.projectcol];
    specialPageNamePopupLabel.setText(article);

    if (special == Edit.SPECIAL_BLOCK || special == Edit.SPECIAL_UNBLOCK
        || special == Edit.SPECIAL_NEWUSER) {
      specialPageActionPopupItem
        .setText(messages.getString("SpecialPageContributionsPopupMenu"));
    } else if (special == Edit.SPECIAL_UPLOAD || special == Edit.SPECIAL_MOVE) {
      specialPageActionPopupItem
        .setText(messages.getString("SpecialPagePagePopupMenu"));
    } else if (special == Edit.SPECIAL_PROTECT || special == Edit.SPECIAL_UNPROTECT || special == Edit.SPECIAL_MODIFY_PROTECT) {
      specialPageActionPopupItem
        .setText(messages.getString("SpecialPageHistoryPopupMenu"));
    } else if (special == Edit.SPECIAL_DELETE) {
      specialPageActionPopupItem
        .setText(messages.getString("SpecialPageLogMenu"));
    }
  }