Milestone link on wiki page does not render in project view

Summary

A %"milestone link" renders correctly on the wiki Home page, but not when that page is the project front page.

Steps to reproduce

  • Create a new project
  • Disable the repository
  • Create a milestone
  • Create a wiki home page
  • On the home page, link to the milestone with a %"link"
  • Open the wiki home page
  • Open the project front page

Example Project

https://gitlab.com/david.libremone/wiki-milestone-example

What is the current bug behavior?

  • Wiki home page renders with milestone link (correct)
  • Project front page renders with unlinked %text

What is the expected correct behavior?

  • Wiki home page renders with milestone link
  • Project front page renders with milestone link

Relevant logs and/or screenshots

wiki-screenshot

Output of checks

This bug happens on GitLab.com (see sample above).

(It also happens on an installation of GitLab with EE functionality disabled. In other words, functionally GitLab CE.)

Possible fixes

N/A

Assignee Loading
Time tracking Loading