factoring get-page into get-revision and get-latest-revision