Wiki Page History does not show commits done before the page was moved to a sub-directory

Summary

Page History in wiki does not show commits done before the page was moved to a sub-directory

Steps to reproduce

  • create a new page in GitLab wiki e.g. Page001, make some modifications and click Page History, make sure that you can see them in the list
  • create one more new page in a sub-folder e.g. sub/Page003
  • move Page001 to the folder sub and check its Page History

Example Project

https://gitlab.com/atanayno/wiki-test/wikis/

What is the current bug behavior?

Page History does not show commits done before the page was moved to a directory. NOTE: full Page History is shown again if the page is moved back to the root folder

What is the expected correct behavior?

Page History should show all commits including the ones done before the page was moved to a directory

Relevant logs and/or screenshots

After moving the page to sub folder: Screen_Shot_2018-11-07_at_2.21.04_PM

After moving the page back to the root folder:

Screen_Shot_2018-11-07_at_2.21.43_PM

Output of checks

This bug happens on GitLab.com, also reproduced on a test instance with GitLab 11.4.0.

Edited Jun 17, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading