Closed micgro42 closed 9 years ago
Getting all revisions might be possibly a huge memory hog (for a very old page with lots of changes). I think the popularity data might have info on the average number of edits per page. Maybe that could help in deciding on the right number here?
Use a
PageChangelog
instance and get the revisions from there. Also get the last 10.000 revisions and not just the last one.10.000 is an arbitrary number here and I would prefer something like "get all revisions". If that's not sensible or possible, what would be a good number and why?