/** @see org.olat.course.nodes.CourseNode#getReferencedRepositoryEntry() */
 @Override
 public RepositoryEntry getReferencedRepositoryEntry() {
   // "false" because we do not want to be strict, but just indicate whether
   // the reference still exists or not
   final RepositoryEntry entry =
       WikiEditController.getWikiReference(getModuleConfiguration(), false);
   return entry;
 }
 /**
  * @see org.olat.course.nodes.GenericCourseNode#exportNode(java.io.File, org.olat.course.ICourse)
  */
 @Override
 public void exportNode(final File exportDirectory, final ICourse course) {
   final RepositoryEntry re = WikiEditController.getWikiReference(getModuleConfiguration(), false);
   if (re == null) {
     return;
   }
   final File fExportDirectory = new File(exportDirectory, getIdent());
   fExportDirectory.mkdirs();
   final RepositoryEntryImportExport reie = new RepositoryEntryImportExport(re, fExportDirectory);
   reie.exportDoExport();
 }
  /** @see org.olat.course.nodes.CourseNode#isConfigValid() */
  @Override
  public StatusDescription isConfigValid() {
    /*
     * first check the one click cache
     */
    if (oneClickStatusCache != null) {
      return oneClickStatusCache[0];
    }

    StatusDescription sd = StatusDescription.NOERROR;
    final boolean isValid = WikiEditController.isModuleConfigValid(getModuleConfiguration());
    if (!isValid) {
      final String shortKey = "error.noreference.short";
      final String longKey = "error.noreference.long";
      final String[] params = new String[] {this.getShortTitle()};
      final String translPackage = Util.getPackageName(WikiEditController.class);
      sd = new StatusDescription(ValidationStatus.ERROR, shortKey, longKey, params, translPackage);
      sd.setDescriptionForUnit(getIdent());
      // set which pane is affected by error
      sd.setActivateableViewIdentifier(WikiEditController.PANE_TAB_WIKICONFIG);
    }
    return sd;
  }