Examples of deletePage()


Examples of org.wikipediacleaner.api.API.deletePage()

      return;
    }
    API api = APIFactory.getAPI();
    try {
      EnumWikipedia wiki = page.getWikipedia();
      api.deletePage(
          wiki, page, wiki.formatComment(reason.trim(), false));
      if (listener != null) {
        listener.pageDeleted(page.getTitle());
      }
    } catch (APIException ex) {
View Full Code Here

Examples of org.wikipediacleaner.api.request.ApiDeleteRequest.deletePage()

   */
  public void deletePage(EnumWikipedia wiki, Page page, String reason)
      throws APIException {
    ApiDeleteResult result = new ApiXmlDeleteResult(wiki, httpClient);
    ApiDeleteRequest request = new ApiDeleteRequest(wiki, result);
    request.deletePage(page, reason);
  }

  // ==========================================================================
  // Recent changes management.
  // ==========================================================================
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.