[bug 1009719] Fix pagination links on badges

r?