/*
* WPCleaner: A tool to help on Wikipedia maintenance tasks.
* Copyright (C) 2013 Nicolas Vervelle
*
* See README.txt file for licensing information.
*/
package org.wikipediacleaner.api.check.algorithm;
import java.util.ArrayList;
import java.util.List;
import org.wikipediacleaner.api.data.PageElementTag;
/**
* Algorithm for analyzing error 23 of check wikipedia project.
* Error 23: Nowiki not correct end
*/
public class CheckErrorAlgorithm023 extends CheckErrorAlgorithmUnclosedTags {
/** List of tags managed by this error. */
private final List<String> tags;
public CheckErrorAlgorithm023() {
super("Nowiki not correct end");
tags = new ArrayList<String>();
tags.add(PageElementTag.TAG_WIKI_NOWIKI);
}
/**
* @return List of tags managed by this error.
*/
@Override
protected List<String> getTags() {
return tags;
}
}