[Bug] Wiki history pagination: the version number is reported incorrectly

Summary

The wiki history pagination doesn't work properly; with a large history items, the pagination reports elements with incorrect values in "version" column.

Steps to reproduce

  • Edit a wiki page more than 15 times
  • Open the wiki page history
  • Change history page and look vaue in the Version column
Wiki History Page 1 Wiki History Page 2
image image

Current bug behavior?

Edited by 🤖 GitLab Bot 🤖