The source project of this merge request has been removed.
Fix links to wiki pages with subdirectories in search
What does this MR do?
This merge request applies the code suggested by @fjsanpedro in https://gitlab.com/gitlab-org/gitlab-ce/issues/56234 to fix bad linking of wiki search results that contain subdirectories. I've tested this code and it works as intended.
Edited by Francisco Javier López (ex-Gitlab)