display home.md instead of README.md if missing

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Release notes

Support home.md as repository preview file alongside index.* and README.* files.

Problem to solve

GitLab Wikis are not editable by the public. This long standing problem has somewhat of a workaround: mirror the wiki into a Git repository and accept pull requests there. This works, but then the home.md frontpage doesn't get previewed in that repository, which makes it less useful.

Proposal

In gitlab-foss#18933 (closed), index.* was added next to README.* to the list of files that would get previewed in a directory. Add home.* to that list, so that GitLab wiki replicas are properly displayed.

Another approach is to make the preview page editable, see #20754.

Intended users

It seems those might be targeted by this:

... but it seems to me there's one persona missing from your list, and that's a non-registered GitLab user, the web person that navigates around and finds the project.

Feature Usage Metrics

No idea.

Does this feature require an audit event?

No idea.

Edited by 🤖 GitLab Bot 🤖