Package org.wikipediacleaner.api.data

Examples of org.wikipediacleaner.api.data.Page.addRedirect()


        Page link = DataManager.getPage(
            getWiki(), xpaTitle.valueOf(currentBacklink), null, null, null);
        link.setNamespace(xpaNs.valueOf(currentBacklink));
        link.setPageId(xpaPageId.valueOf(currentBacklink));
        if (currentBacklink.getAttribute("redirect") != null) {
          link.addRedirect(page);
        }
        if (!list.contains(link)) {
          list.add(link);
        }
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.