Skip to content
W

Wiki-Colon-Bug-Testing-Repo

Welcome to the testing wiki!

In the GitLab wiki you are usually able to create a link to a different wiki page by putting the wiki page slug into a markdown link. This works well, as the following example shows:

  • Markdown: [Test](foo-bar)
  • Result: Test

The following link is created with the slug of an exisiting wiki page.. Upon hovering / clicking however, you will notice that the link doesn't redirect you to the wiki page as expected, but opens an unknown "foo" protocol:

  • Markdown: [Test](foo:bar)
  • Result: Test

It doesn't matter whether there is a space in the page title (and thus, in the slug) after the colon - the following link contains one:

  • Markdown: [Test](foo:-bar)
  • Result: Test

It does work fine, however, if the requested subpage is inside a directory:

  • Markdown: [Test](foo/bar:baz)
  • Result: Test