This part of code results in hanging of the script:
Bot.useBotQuery = false;
Site site = new Site("...", "...", "...");
PageList pl = new PageList(site);
pl.FillFromAllPages("", 0, true, 32267);
Total page count in my wiki is less than 20 but the function tryes to get all 32267 pages.
I have check the code of FillFromAllPages. Possibly there is a bug in this part:
while(pages.Count < quantity);
There is no check of REAL page count.
For Bot.useBotQuery = true; all works correctly.
Thank you for this tool!
Sorry for delay.
Yes, it's a bug there.
Log in to post a comment.