ProblemConsole console = new ProblemConsole();
IFile file = null;
try {
- monitor.beginTask("Refresh Wikis", 100);
+ monitor.beginTask("Download Wiki Articles: ", 100);
// ArrayList wikiTitles = new ArrayList();
// for (int i = 0; i < files.length; i++) {
// wikiTitles.add( Util.getReadableWikiName(files[i]) );
url = configuration.getActionUrl() + "/" + configuration.getSpecialNs() + ":Export";
}
// get a list of Parsed elements
+ monitor.subTask("Downloading (XML Import)");
ArrayList list = mwc.loadXML(configuration, url, buffer.toString());
String body;
if (body != null) {
file = (IFile) map.get(wikiTitle);
if (file != null) {
+ monitor.subTask("Modify file: "+file.getLocation().toString());
updateFileContent(console, file, parsed, body, configuration, monitor);
}
}