Fix the version number count on wiki page history

What does this MR do and why?

Fix the version number count on wiki page history

References

#588158 (closed)

Screenshots or screen recordings

Before on page 2 After on page 2
Screenshot 2026-01-30 at 11.41.03.png Screenshot 2026-01-30 at 11.42.13.png

How to set up and validate locally

  1. Checkout this branch and run gdk locally
  2. Go to any project's wiki page
  3. Create a new wiki page if it doesn't exist already
  4. Edit and update it more than 20 times
  5. Go to wiki history page
  6. Go to page 2 and notice the correct version number
  7. Compare to master branch where page 2 shows incorrect version number

Merge request reports

Loading