Examples of retrieveAllEmbeddedIn()


Examples of org.wikipediacleaner.api.MediaWiki.retrieveAllEmbeddedIn()

   */
  private void constructEmbeddedIn(List<Page> pages) throws APIException {
    if (elementNames != null) {
      List<Page> tmpPages = constructInternalPageList();
      MediaWiki mw = MediaWiki.getMediaWikiAccess(this);
      pages.addAll(mw.retrieveAllEmbeddedIn(getWikipedia(), tmpPages, null, true));
    }
  }

  /**
   * Construct list of internal links contained in the pages.
View Full Code Here

Examples of org.wikipediacleaner.api.MediaWiki.retrieveAllEmbeddedIn()

      if (!Boolean.TRUE.equals(exists)) {
        tmpPages2.add(tmpPage);
      }
    }
    MediaWiki mw = MediaWiki.getMediaWikiAccess(this);
    List<Page> tmpPages3 = mw.retrieveAllEmbeddedIn(
        wiki, tmpPages2,
        wiki.getConfiguration().getEncyclopedicNamespaces(), true);
    pages.addAll(tmpPages3);
    Collections.sort(pages, PageComparator.getNamespaceFirstComparator());
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.