Package org.wikipediacleaner.api.check

Examples of org.wikipediacleaner.api.check.CheckLanguageLinkActionProvider


          CheckErrorResult errorResult = createCheckErrorResult(
              analysis, beginIndex, endIndex);
          if ((fromWiki != null) && (article.length() >0)) {
            errorResult.addPossibleAction(
                GT._("Check language links"),
                new CheckLanguageLinkActionProvider(
                    fromWiki, analysis.getWikipedia(),
                    article, link.getText()));
          }

          // Use templates
View Full Code Here


        EnumWikipedia fromWiki = EnumWikipedia.getWikipedia(lgCode);
        if ((fromWiki != null) && (fromWiki.getSettings().getCode().equals(lgCode))) {
          String pageTitle = link.getLink();
          errorResult.addPossibleAction(
              GT._("Check language links"),
              new CheckLanguageLinkActionProvider(
                  fromWiki, toWiki,
                  pageTitle, link.getText()));
          if ((templatesList != null) && (templatesList.size() > 0)) {
            for (String template : templatesList) {
              String[] templateArgs = template.split("\\|");
View Full Code Here

TOP

Related Classes of org.wikipediacleaner.api.check.CheckLanguageLinkActionProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.